会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SAOIRSE
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
41
下一页
2020年4月25日
PAT (Advanced Level) Practice 1015 Reversible Primes (20分) (进制转换+素数判断)
摘要: 1.题目A reversible prime in any number system is a prime whose "reverse" in that number system is also a pri...
阅读全文
posted @ 2020-04-25 21:36 Jason66661010
阅读(121)
评论(0)
推荐(0)
2020年4月24日
PAT (Advanced Level) Practice 1013 Battle Over Cities (25分) (使用DFS对图的强连通分量的统计)
摘要: 1.题目It is vitally important to have all the cities connected by highways in a war. If a city is occupied b...
阅读全文
posted @ 2020-04-24 19:22 Jason66661010
阅读(127)
评论(0)
推荐(0)
PAT (Advanced Level) Practice 1010 Radix (25分) (进制转换 longlong溢出 二分查找)
摘要: 1.题目Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answ...
阅读全文
posted @ 2020-04-24 16:26 Jason66661010
阅读(103)
评论(0)
推荐(0)
PAT (Advanced Level) Practice 1004 Counting Leaves (30分) (普通树的DFS)
摘要: 1.题目A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members ...
阅读全文
posted @ 2020-04-24 15:23 Jason66661010
阅读(106)
评论(0)
推荐(0)
2020年4月23日
进制转换(2~16进制)
摘要: 参考https://blog.csdn.net/zhang__shuang_/article/details/86578800例题题目描述: 求任意两个不同进制非负整数的转换(2进制~16进制),所给整数在lon...
阅读全文
posted @ 2020-04-23 16:25 Jason66661010
阅读(711)
评论(0)
推荐(0)
2020年4月21日
PAT (Advanced Level) Practice 1071 Speech Patterns (25分)
摘要: 1.题目People often have a preference among synonyms of the same word. For example, some may prefer "the poli...
阅读全文
posted @ 2020-04-21 16:06 Jason66661010
阅读(87)
评论(0)
推荐(0)
PAT (Advanced Level) Practice 1070 Mooncake (25分)
摘要: 1.题目Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of...
阅读全文
posted @ 2020-04-21 15:26 Jason66661010
阅读(93)
评论(0)
推荐(0)
PAT (Advanced Level) Practice 1069 The Black Hole of Numbers (20分)
摘要: 1.题目For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in n...
阅读全文
posted @ 2020-04-21 14:58 Jason66661010
阅读(99)
评论(0)
推荐(0)
2020年4月17日
PAT (Advanced Level) Practice 1074 Reversing Linked List (25分)
摘要: 1.题目Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elemen...
阅读全文
posted @ 2020-04-17 09:56 Jason66661010
阅读(117)
评论(0)
推荐(0)
PAT (Advanced Level) Practice 1073 Scientific Notation (20分)
摘要: 1.题目Scientific notation is the way that scientists easily handle very large numbers or very small numbers....
阅读全文
posted @ 2020-04-17 09:49 Jason66661010
阅读(126)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
41
下一页
公告