CVOTE W A?

Link-CodeChef: Practical coding for everyone
why this is wrong?? which test case i am failing?