Discrepancies in the Voters List (VOTERS)

HI ,
I am getting TLE for Voter question.
http://www.codechef.com/viewsolution/3915829

Thanks in advance for any help.

Thanks
rajesh

you can look at the below link for solution of the problem with explanation
http://www.codechef.com/viewsolution/3916124

which link ?