wrong answer in vertex cover http://www.spoj.com/problems/PT07X/

i am using max bipartite but i dont know what is wrong in my code ,my code is http://ideone.com/qN2zIU

First of all, the title is not for writing your whole question there - the area where you only put your (previosly unreadable, learn how to format code so that Codechef would show it properly) code is for that. Also, when asking for help, write the idea you used - don’t expect anyone to figure that out just from the code.