随笔分类 -  数学

摘要:PAT(甲级)2019年秋季考试 7-1 Forever (20 分) 题目描述: "Forever number" is a positive integer A with K digits, satisfying the following constrains: the sum of all 阅读全文
posted @ 2021-09-04 18:01 凌宸1642 阅读(105) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1117 Eddington Number (25 分) 凌宸1642 题目描述: British astronomer Eddington liked to ride a bike. It is said that in order to 阅读全文
posted @ 2021-08-26 00:33 凌宸1642 阅读(46) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1049 Counting Ones (30 分) 凌宸1642 题目描述: The task is simple: given any positive integer N, you are supposed to count the t 阅读全文
posted @ 2021-08-23 23:01 凌宸1642 阅读(60) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1048 Find Coins (25 分) 凌宸1642 题目描述: Eva loves to collect coins from all over the universe, including some other planets 阅读全文
posted @ 2021-08-21 03:40 凌宸1642 阅读(55) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1038 Recover the Smallest Number (30 分) 凌宸1642 题目描述: Given a collection of number segments, you are supposed to recover 阅读全文
posted @ 2021-08-21 03:37 凌宸1642 阅读(54) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1101 Quick Sort (25 分) 凌宸1642 题目描述: There is a classical process named partition in the famous quick sort algorithm. In 阅读全文
posted @ 2021-08-21 03:36 凌宸1642 阅读(59) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1145 Hashing - Average Search Time (25 分) 凌宸1642 题目描述: The task of this problem is simple: insert a sequence of distinct 阅读全文
posted @ 2021-08-20 01:50 凌宸1642 阅读(61) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1136 A Delayed Palindrome (20 分) 凌宸1642 题目描述: Consider a positive integer N written in standard notation with k+1 digits 阅读全文
posted @ 2021-08-17 00:22 凌宸1642 阅读(61) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1132 Cut Integer (20 分) 凌宸1642 题目描述: Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2 阅读全文
posted @ 2021-08-17 00:21 凌宸1642 阅读(44) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1128 N Queens Puzzle (20 分) 凌宸1642 题目描述: The "eight queens puzzle" is the problem of placing eight chess queens on an 8× 阅读全文
posted @ 2021-08-16 13:43 凌宸1642 阅读(59) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1125 Chain the Ropes (25 分) 凌宸1642 题目描述: Given some segments of rope, you are supposed to chain them into one rope. Each 阅读全文
posted @ 2021-08-15 13:59 凌宸1642 阅读(43) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1120 Friend Numbers (20 分) 凌宸1642 题目描述: Two integers are called "friend numbers" if they share the same sum of their dig 阅读全文
posted @ 2021-08-13 20:29 凌宸1642 阅读(63) 评论(0) 推荐(0)
摘要:PAT (Advanced Level) Practice 1059 Prime Factors (25 分) 凌宸1642 题目描述: Given any positive integer N, you are supposed to find all of its prime factors, 阅读全文
posted @ 2021-08-11 00:05 凌宸1642 阅读(54) 评论(0) 推荐(0)