Prime Palindrome HELP WRONG ASNWER

c-plus-plus
easy
palindrome

#1

I really don’t understand why my answer is wrong, it works just fine for me. Could someone please help?

http://www.codechef.com/viewsolution/3900410


#2

Your code doesn’t print anything for N = 1000000.


#3

The constraint is 1 ≤ N ≤ 1000000 but u r not considering the case where N = 1000000…


#4

The constraint is on the input that input is N<=1000000 , not the answer . Answer can be greater than 1000000 .