WA in CVOTE (a question of jan challange 2013)

I am getting wrong answer in this problem. code is


[1]
Link of problem [cvote][2]


  [1]: http://ideone.com/NinQUh
  [2]: http://www.codechef.com/problems/CVOTE

Finally got correct answer :slight_smile: