PAT甲级
闻曦
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT A1057. Stack (30)
1057. Stack (30) 时间限制 150 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Stack is one of the most fundamental data structures原创 2017-09-13 17:07:47 · 477 阅读 · 0 评论 -
PAT A1066. Root of AVL Tree (25)
1066. Root of AVL Tree (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue An AVL tree is a self-balancing binary se原创 2017-09-12 15:38:58 · 159 阅读 · 0 评论 -
PAT A1120. Friend Numbers (20)
1120. Friend Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Two integers are called "friend numbers" if原创 2017-09-12 15:28:17 · 182 阅读 · 0 评论 -
PAT A1121. Damn Single (25)
1121. Damn Single (25) 时间限制 300 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue "Damn Single (单身狗)" is the Chinese nickname fo原创 2017-09-12 15:18:53 · 276 阅读 · 0 评论 -
PAT A1122. Hamiltonian Cycle (25)
1122. Hamiltonian Cycle (25) 时间限制 300 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue The "Hamilton cycle problem" is to find原创 2017-09-12 15:12:38 · 252 阅读 · 0 评论 -
PAT A1123. Is It a Complete AVL Tree (30)
1123. Is It a Complete AVL Tree (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue An AVL tree is a self-balancing原创 2017-09-12 15:08:23 · 261 阅读 · 0 评论 -
PAT A1119. Pre- and Post-order Traversals (30)
1119. Pre- and Post-order Traversals (30) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Special 作者 CHEN, Yue Suppose that all the keys in原创 2017-09-11 23:56:02 · 271 阅读 · 0 评论 -
PAT A1118. Birds in Forest (25)
Some scientists took pictures of thousands of birds in a forest. Assume that all the birds appear in the same picture belong to the same tree. You are supposed to help the scientists to count the maxi原创 2017-09-11 23:49:46 · 190 阅读 · 0 评论 -
PAT A1117. Eddington Number(25)
1117. Eddington Number(25) 时间限制 250 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue British astronomer Eddington liked to ride原创 2017-09-11 23:38:20 · 249 阅读 · 0 评论 -
PAT A1116. Come on! Let's C (20)
1116. Come on! Let's C (20) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue "Let's C" is a popular and fun programmin原创 2017-09-11 23:27:34 · 246 阅读 · 0 评论 -
PAT A1130. Infix Expression (25)
1130. Infix Expression (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a syntax tree (binary), you are supposed to output the corresponding infix expression, with parentheses refle原创 2017-08-31 18:07:11 · 826 阅读 · 4 评论 -
PAT A1096. Consecutive Factors (20)
1096. Consecutive Factors (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Among all the factors of a positive in原创 2017-09-16 17:21:12 · 208 阅读 · 0 评论 -
PAT A1059. Prime Factors (25)
1059. Prime Factors (25) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HE, Qinming Given any positive integer N, you are supp原创 2017-09-16 13:30:44 · 237 阅读 · 0 评论 -
PAT A1088. Rational Arithmetic (20)
1088. Rational Arithmetic (20) 时间限制 200 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue For two rational numbers, your task is原创 2017-09-16 11:55:56 · 304 阅读 · 0 评论 -
PAT A1081. Rational Sum
1081. Rational Sum (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given N rational numbers in the form "numerat原创 2017-09-16 11:24:20 · 320 阅读 · 0 评论 -
PAT A1040. Longest Symmetric String (25)
1040. Longest Symmetric String (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a string, you are supposed原创 2017-09-15 15:22:45 · 235 阅读 · 0 评论 -
PAT A1023. Have Fun with Numbers
1023. Have Fun with Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Notice that the number 123456789 is原创 2017-09-15 12:07:49 · 219 阅读 · 0 评论 -
PAT A1024. Palindromic Number (25)
1024. Palindromic Number (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A number that will be the same when it原创 2017-09-15 11:49:55 · 181 阅读 · 0 评论 -
PAT A1138. Postorder Traversal (25)
1138. Postorder Traversal (25) 时间限制 600 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppose that all the keys in a binary原创 2017-12-28 01:09:35 · 223 阅读 · 0 评论
分享