Please check my code?

my code :==> CodeChef: Practical coding for everyone

No one will be able to understand it, submit the code and link the solution

1 Like

ok

https://www.codechef.com/viewsolution/29194393

You’re misinterpreting the question. You don’t have to find the max lead in a game, you have to find max lead in the cumulative score

2 Likes

Can someone help me in this. I am getting EOF error. Here is the link:
https://www.codechef.com/viewsolution/34897515

You are printing n, which is no where mentioned to be printed

But without those prints also I am getting the same error.

You can something like this-

num=int(input())
for i in range(num):
s=input()
w=s.split(’ ‘)
re=’ '.join(reversed(w))
print (re)