I am getting WA on 9th Test case. Can anyone see what’s wrong with this solution or suggest some sample test cases, please?
created
last reply
- 3
replies
- 289
views
- 2
users
- 1
link
I am getting WA on 9th Test case. Can anyone see what’s wrong with this solution or suggest some sample test cases, please?
As I mentioned, don’t assume you’re getting correct answers to the first eight test cases. SPOJ judge runs all test cases anyway, and doesn’t stop on the first failure.
You’ll need to share your code if you want us to take look. Only you and the problem setter can see your submissions to the actual problem.