文件名称:1015
介绍说明--下载内容均来自于网络,请自行研究使用
浙大 编程能力测试 的甲级题目 第 1015. Reversible Primes (20) 数字特征问题 关于给定进制数 判断一个数据是否符合给定特征-A reversible prime in any number system is a prime whose reverse in that number system is also a prime. For example in the decimal system 73 is a reversible prime because its reverse 37 is also a prime.
Now given any two positive integers N (< 105) and D (1 < D <= 10), you are supposed to tell if N is a reversible prime with radix D.
Now given any two positive integers N (< 105) and D (1 < D <= 10), you are supposed to tell if N is a reversible prime with radix D.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1015.cpp