【例46.3】 素数回文数的个数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
求到之间(包括),既是素数又是回文数的整数有多少个。
PS:回文数的概念:正着读和反着读都一样的数字。例如,121、1331 和 12321 都是回文数,因为从左到右和从右到左读都是相同的。类似于121,1234321,321123这样的数就叫做回文数
输入格式
一个大于且小于的整数。
输出格式
到之间的素数回文数个数。
样例
231
寒假集训_01_09
- Status
- Done
- Rule
- XCPC
- Problem
- 6
- Start at
- 2025-1-9 14:00
- End at
- 2025-1-9 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 41