Problem 2880 --1.5.2 Prime Palindromes

2880: 1.5.2 Prime Palindromes

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $10$ 正确数量 $4$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签 usaco 搜索

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 two supplied numbers a and b (5 <= a < b <= 100,000,000); both a and b are considered to be within the range .

PROGRAM NAME: pprime

Line 1: Two integers, a and b
The list of palindromic primes in numerical order, one per line.
5 500
5
7
11
101
131
151
181
191
313
353
373
383

推荐代码 查看2880 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$0 $ms] AOJ大管家 445510 2019-06-22 22:58:40
内存最少[$1128 $KB] AOJ大管家 445510 2019-06-22 22:58:40
第一AC AOJ大管家 445510 2019-06-22 22:58:40
第一挑战 AOJ大管家 445510 2019-06-22 22:58:40

赛题来源/所属竞赛 usaco training usaco Training

竞赛编号 竞赛名称 竞赛时间 访问比赛