Type: RemoteJudge 1000ms 512MiB

[GESP样题 四级] 绝对素数

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.

题目描述

如果一个两位数是素数,且它的数字位置经过对换后仍为素数,则称为绝对素数,例如 1313。给定两个正整数 A,BA, B,请求出大于等于 AA、小于等于 BB 的所有绝对素数。

输入格式

输入 11 行,包含两个正整数 AABB。保证 10<A<B<10010<A<B<100

输出格式

若干行,每行一个绝对素数,从小到大输出。

11 20
11
13
17

GESP四级

Not Claimed
Status
Done
Problem
20
Open Since
2025-8-14 0:00
Deadline
2025-8-24 23:59
Extension
24 hour(s)