Code-:CodeChef: Practical coding for everyone
Question-:KMAX2 Problem - CodeChef
1 Like
Here is a test case where your code fails :-
1
4 2
4 3 2 1
Your O/P :- 3
Correct O/P :- 0
I gues you can debug now .
2 Likes
Thanks 