Edmond-Karp-Algorithm (Help Needed in debugging the code)

Please help me to debug this code

code link: https://ide.codingblocks.com/s/370015https://ide.codingblocks.com/s/370015