We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
When I am running the program with the given test cases, I am getting an error in the main method rather than the solve method. When i run custom inputs and put in inputs like:
5
1
2
3
4
5
It always works for every value that I put inthe custom input, but gives me runtime errors with lots of test cases
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Count Palindromes
You are viewing a single comment's thread. Return to all comments →
When I am running the program with the given test cases, I am getting an error in the main method rather than the solve method. When i run custom inputs and put in inputs like:
5 1 2 3 4 5
It always works for every value that I put inthe custom input, but gives me runtime errors with lots of test cases