Incorrect Answer

This is my 10th submission for the problem TLG Problem - CodeChef and I do not know what exactly is wrong with my code. Please let me know my mistake. CodeChef: Practical coding for everyone

You have to find the lead at each round after summing all the points from previous round.
That’s what you have done wrong.
Example :

2

34 22

21 19

Output will be :
1 14