原文:PAT 2019-3 7-1 Sexy Primes

Description: Sexy primes are pairs of primes of the form p,p , so named since sex is the Latin word for six . Quoted fromhttp: mathworld.wolfram.com SexyPrimes.html Now given an integer, you are suppo ...

2019-09-01 19:57 0 635 推荐指数:

查看详情

PAT 2019-3 7-3 Telefraud Detection

Description: Telefraud(电信诈骗) remains a common and persistent problem in our society. In some cas ...

Mon Sep 02 03:49:00 CST 2019 0 357
PAT甲级】1015 Reversible Primes (20 分)

题意: 每次输入两个正整数N,D直到N是负数停止输入(N<1e5,1<D<=10),如果N是一个素数并且将N转化为D进制后逆转再转化为十进制后依然是个素数的话输出Yes,否则输出N ...

Sun Jul 28 01:10:00 CST 2019 0 378
2019年春PAT甲级考试

  这次考试不是很理想,一道题目没能做完。   自己原因差不多三条:     1.自己实力不够,准备时间也有点仓促,自己没能做到每道题目都有清晰的思路。     2.考试的心理素质不行,因为设备 ...

Mon Mar 04 04:02:00 CST 2019 0 920
PAT(甲级)2019年春季考试

7-1 Sexy Primes 判断素数 一个点没过17/20分 错因:输出i-6写成了输出i,当时写的很乱,可以参考其他人的写法 修改后的代码: 7-2 Anniversary 集合、查找排序 25分 7-3 Telefraud Detection 图论 15/25 ...

Wed Sep 25 02:10:00 CST 2019 0 476
2019冬季PAT甲级心得&建议

!虽然你抵完上机之后差距缩小了,但是软院没有笔试啊!!啊!!!没有英面啊!!啊!! 太香了啊 牛客网上刷20题可以有pat-50代金券,直达链接:https://www.nowcoder.com/pat 题目集我不是很能和pta对上,嫌麻烦也可以闲鱼花10块买一张券 更于2020.5.17 ...

Mon Dec 16 08:25:00 CST 2019 0 428
PAT(甲级)2019年秋季考试

7-1 Forever (20 分) 时间限制:3000 ms 内存限制:64 MB "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum ...

Wed Apr 07 06:23:00 CST 2021 4 211
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM