Edmond Karp Algorithm

getting segmentation fault

only want to know mistakes in this code

Hello @deepaksharma42045

Cross check with this(mentor code)

https://ide.codingblocks.com/s/251787?_ga=2.81560855.1082794199.1622023608-821479042.1622023608

I WABT TO KNOW WHATS WRONG IN MY CODE , I HAVE USED ANOTHER METHOD SO PLEASE LET ME KNOW MY MISTKES O WHY THAT ERROR IS COMING INTO MY CODE

ur parent vector is of 0 size u cant use indexing over it