WA!! SMP(stable marriage problem)

plzz…guys help me up!!!
constantly getting WA!! even though i guess there are no corner cases(feeling depressed)…
http://www.codechef.com/viewsolution/2713534

plzz…any one …help me up!!

ANY ONE PLZZZ…HELP ME UP!!!

koi to help kar do…!!!:frowning:

any one der…:frowning:

???

//