I don’t know where the mistake is.
code-https://ide.codingblocks.com/s/338940
Code is not working
hey @amanb25 just make changes in the following lines from 22 to 29
if(visited[src]){
if(1+parity!=visited[src]){ can=0; return; }else{ return ; } }
thank you yes it works now