Can someone help me with my code for VOTERS problem in Easy Practice Section?


[1]
Code runs fine for the example given in the question, but after submission I am getting wrong answer.
TIA

  [1]: https://www.codechef.com/viewsolution/23157869