![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pat
yyy_3y
这个作者很懒,什么都没留下…
展开
-
PAT-2019年春季考试-甲级-Sexy Primes
7-1 Sexy Primes (20 分)Sexy primes are pairs of primes of the form (p, p+6), so-named since “sex” is the Latin word for “six”. (Quoted from http://mathworld.wolfram.com/SexyPrimes.html)Now given an i...原创 2019-03-25 20:54:05 · 1164 阅读 · 2 评论 -
PAT-2019年春季考试-甲级-Anniversary
Anniversary作者: 陈越单位: 浙江大学时间限制: 800 ms内存限制: 64 MB代码长度限制: 16 KBZhejiang University is about to celebrate her 122th anniversary in 2019. To prepare for the celebration, the alumni association (校友会)...原创 2019-03-25 21:20:52 · 414 阅读 · 0 评论 -
PAT-2019年春季考试-甲级-Telefraud Detection
7-3 Telefraud Detection (25 分)作者: 陈越单位: 浙江大学时间限制: 400 ms内存限制: 64 MB代码长度限制: 16 KBTelefraud(电信诈骗) remains a common and persistent problem in our society. In some cases, unsuspecting victims lose t...原创 2019-03-26 18:56:47 · 618 阅读 · 1 评论 -
PAT-2019年春季考试-甲级-Structure of a Binary Tree
7-4 Structure of a Binary Tree (30 分)作者: 陈越单位: 浙江大学时间限制: 400 ms内存限制: 64 MB代码长度限制: 16 KBSuppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder ...原创 2019-03-26 19:10:23 · 389 阅读 · 0 评论