CodeChef: Practical coding for everyone I need help in this. It is showing wrong answer.
I saw your code its quiet more complicated since you are trying to store the inputs while you may see my approach also
using namespace std;
hope this may help.
See e.g. here.
The same mistake everyone seems to make. It’s the maximum difference in cumulative scores.
Did you really just link a link to a link to a link to your answer?
I’m trying to break the forum software
Thanks everyone… I got that!!