can anyone help??
2 Likes
This test case is giving WA:
1
-1 4 5 6 -3 -4 -5 -6 -7 -8
1
1 1 10
Your output:14
Expected output:15
2 Likes
hey @michelangelo thanks mate.
wgs4pS - Online Java Compiler & Debugging Tool - Ideone.com
got AC with this code. Just had to change one line.
And got AC for GSS1 too. Thanks
2 Likes
Great work bro. I must tell you that the questions you solve on SPOJ are really good. You might know how difficult it is to find good problems on SPOJ. So, this time, thanks to you. Keep on solving and do post if you need any help.
1 Like