![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
文章平均质量分 82
DNMTOOBA
这个作者很懒,什么都没留下…
展开
-
PAT (Advanced Level) Practice---甲级刷题---题解(1001~1115)
目录1001A+B Format(20分)Sample Output:1001A+B Format(20分)Calculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Specification:...原创 2020-07-17 00:06:35 · 290 阅读 · 0 评论 -
PAT (Basic Level) Practice (中文)---题解(1001~1095)
题目目录1001 害死人不偿命的(3n+1)猜想 (15分)1001 害死人不偿命的(3n+1)猜想 (15分)卡拉兹(Callatz)猜想:对任何一个正整数 n,如果它是偶数,那么把它砍掉一半;如果它是奇数,那么把 (3n+1) 砍掉一半。这样一直反复砍下去,最后一定在某一步得到 n=1。卡拉兹在 1950 年的世界数学家大会上公布了这个猜想,传说当时耶鲁大学师生齐动员,拼命想证明这个貌似很傻很天真的命题,结果闹得学生们无心学业,一心只证 (3n+1),以至于有人说这是一个阴谋,卡拉兹是在蓄意延缓美原创 2020-06-30 21:59:25 · 281 阅读 · 0 评论