You've finished (or at least tried… hopefully) fixing up ButaneBot's OR-sum and Sokoban programs! Now you need to enter ButaneBot's files and update the code. There is a single problem now… to update the code you need to enter ButaneBot's security password, which Butane implemented to stop users from tampering with his files. ButaneBot cannot recall the password, but he remembers that it was a single integer under
Input Specification
The only line of input will contain a single integer,
You can assume that 80% of test cases will have
Output Specification
The number of palindromes under
Sample Input
2
Sample Output
18
The palindromes less than or equal to
Comments
why am I WA'ing on test case 4
I found the
value to be 
for question 4, but still got no idea what is wrong with the answer
"Since this number may be very big, output the answer modulo
."
Also, your solution is too slow. For the later cases it will TLE.
Thank you for your response, by the way, this question really takes me hours to solve bc I didn't know it says "result = result% 1 Billion"
bruh, i got 0.11s for my solution, check the list out
This comment is hidden due to too much negative feedback. Show it anyway.
I have the same question