Spoj AMR11A WA help
Here is my code for Spoj AMR11A. I have also tried all test cases given here,and it's giving correct answer.But still I am getting WA on Spoj.Can please anyone figure out any mistake in my code.