The question asks you to find the max lead on the basis of total score till a round. And, the total score of a round is the cumulative sum of all the scores till that round, including it.
Looking at your
[1], it seems like you are storing the cumulative score in the array $i[t][2]$. But there's a problem in the implementation. Change this
i [c][0] = i [c][0] + d [c][0];
i [c][1] = i [c][1] + d [c][1];
To this
i [c][0] = i [c-1][0] + d [c][0];
i [c][1] = i [c-1][1] + d [c][1];
Also, take care of the case when $c = 0$ ($c-1$ will be $-1$ in that case), and then your code will be fine.
The reason that your code gives a right answer in the sample test case is that the max lead in it happens in the first round itself, so there is no need of a cumulative score. But this may not happen always, giving a wrong answer in the other cases.
[1]: https://www.codechef.com/viewsolution/14672084