随笔分类 -  PAT乙级

难搞哦、、、
摘要:1004 成绩排名 (20分) 题目地址:https://pintia.cn/problem sets/994805260223102976/problems/994805321640296448 读入 n( 0)名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。 输入格式: 每 阅读全文
posted @ 2020-01-07 17:05 Another7 阅读(106) 评论(0) 推荐(0)
摘要:1003 我要通过! (20分) 题目地址: https://pintia.cn/problem sets/994805260223102976/problems/994805323154440192 “ 答案正确 ”是自动判题系统给出的最令人欢喜的回复。本题属于 PAT 的“ 答案正确 ”大派送 阅读全文
posted @ 2020-01-06 20:49 Another7 阅读(244) 评论(0) 推荐(0)
摘要:1002 写出这个数 (20分) 题目地址:https://pintia.cn/problem sets/994805260223102976/problems/994805324509200384 读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 输入格式: 每个测试输入包含 阅读全文
posted @ 2019-12-31 09:18 Another7 阅读(150) 评论(0) 推荐(0)
摘要:1001 害死人不偿命的(3n+1)猜想 (15分) 题目地址:https://pintia.cn/problem sets/994805260223102976/problems/994805325918486528 卡拉兹(Callatz)猜想: 对任何一个正整数 n,如果它是偶数,那么把它砍掉 阅读全文
posted @ 2019-12-30 19:24 Another7 阅读(75) 评论(0) 推荐(0)