发表评论取消回复
相关阅读
相关 PAT(甲级)1015 Reversible Primes (20point(s))
题目题目链接思路题目大意:判断一个数以及逆序是不是质数;注意:0和1都不是质数,记得特判一下;代码#include <iostream>#include &l...
相关 1015 Reversible Primes(质数)
1015 Reversible Primes 0、题目 A reversible prime in any number system is a prime who
相关 PAT甲级1015 Reversible Primes 素数判断以及进制转换
题解: 1.测试点2是一个坑,0和1不是素数,在素数判断的时候一定要注意,我最早就没加,一直过不了 2.题目中的逆序是指将N转成d进制后,在d进制下逆序,然后转回10
相关 进制转换(进制转换)
进制转换 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Othe
相关 1015. Reversible Primes (20)
A reversible prime in any number system is a prime whose "reverse" in that number system
相关 PAT甲级-1015. Reversible Primes (20)
1015. Reversible Primes (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B
相关 (PAT 1015) Reversible Primes (进制转换+判断素数)
A reversible prime in any number system is a prime whose "reverse" in that number system
相关 (PAT 1019) General Palindromic Number (进制转换)
A number that will be the same when it is written forwards or backwards is known as a Pa
相关 PAT甲级 - 1015 Reversible Primes (20 分)
题目链接:PAT甲级 - 1015 Reversible Primes (20 分) A reversible prime in any number system is a
相关 PAT-1015 Reversible Primes (20)
include<stdio.h> include<cmath> include<algorithm> include<stack> us
还没有评论,来说两句吧...