This is my 10th submission for the problem https://www.codechef.com/problems/TLG and I do not know what exactly is wrong with my code. Please let me know my mistake. https://www.codechef.com/viewsolution/19301904
You have to find the lead at each round after summing all the points from previous round.
That’s what you have done wrong.
Output will be :