THE Lead Game

I have code the question but it is not getting accepting .Can anyone give me a reason?
What to answer if both players have same lead at he end?
The on whio got lead first or smthng else.
Hope to get reply soon.

Read the problem statement carefully. The result at the end doesn’t matter. What does matter is leads at the end of each round. And the maximum lead, be it by player A or player B is to be taken. Thats it