25 GUC-A
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.
25 GUC-A
题目描述
因为 既是一个质数又是一个回文数(从左到右和从右到左是看一样的),所以 是回文质数。
写一个程序来找出范围 (一亿)间的所有回文质数。
输入格式
第一行输入两个正整数 和 。
输出格式
输出一个回文质数的列表,一行一个。
5 500
5
7
11
101
131
151
181
191
313
353
373
383
2025ACM寒假第一次训练测试
- Status
- Done
- Rule
- XCPC
- Problem
- 8
- Start at
- 2025-1-10 9:00
- End at
- 2025-1-10 12:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 41