- 博客(5)
- 收藏
- 关注
原创 1025 PAT Ranking
1025 PAT Ranking (25 分)Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the ranklists will be merged immediately after
2021-03-05 17:26:43 107
原创 1049 Counting Ones
1049 Counting Ones (30 分)The task is simple: given any positive integer N, you are supposed to count the total number of 1’s in the decimal form of the integers from 1 to N. For example, given N being 12, there are five 1’s in 1, 10, 11, and 12.Input Spe
2021-03-04 10:19:29 143 1
原创 1048 Find Coins (25 分)
1048 Find Coins (25 分)Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payments. However, there was a special requirement
2021-03-03 22:11:08 139 1
原创 1038 Recover the Smallest Number (30 分)
1038 Recover the Smallest Number (30 分)Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we can recover many numbers such like 32-321-3214-0229-87 or 0229-32-8
2021-03-02 20:16:40 164
原创 1015 Reversible Primes
1015 Reversible Primes (20 分)A reversible prime in any number system is a prime whose “reverse” in that number system is also a prime. For example in the decimal system 73 is a reversible prime because its reverse 37 is also a prime.Now given any two pos
2021-03-01 18:46:27 52
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人