[求助]这是一个关于回数的程序,是我们的作业 ,可是却做不出来
The number 151 is a prime palindrome because it is both a prime number and a palindrome (it is the same number when read forward as backward). Write a program that finds all prime palindromes in the range of 3 and 1,000,000,000.
Output
The list of palindromic primes in numerical order, one per line. Then print the run time (seconds) at the last line.
Sample Output
3
5
7
11
101
131
151
181
191
313
353
373
383
...
...
30 seconds The final score
The final score Score = Style(10) + Correct(50) + Speed(T)
where T = 70 - RunTime(seconds)