PAT甲级
闻曦
这个作者很懒,什么都没留下…
展开
-
PAT A1057. Stack (30)
1057. Stack (30)时间限制150 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueStack is one of the most fundamental data structures原创 2017-09-13 17:07:47 · 441 阅读 · 0 评论 -
PAT A1066. Root of AVL Tree (25)
1066. Root of AVL Tree (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAn AVL tree is a self-balancing binary se原创 2017-09-12 15:38:58 · 128 阅读 · 0 评论 -
PAT A1120. Friend Numbers (20)
1120. Friend Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueTwo integers are called "friend numbers" if原创 2017-09-12 15:28:17 · 154 阅读 · 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 · 210 阅读 · 0 评论 -
PAT A1122. Hamiltonian Cycle (25)
1122. Hamiltonian Cycle (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe "Hamilton cycle problem" is to find原创 2017-09-12 15:12:38 · 221 阅读 · 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, YueAn AVL tree is a self-balancing原创 2017-09-12 15:08:23 · 225 阅读 · 0 评论 -
PAT A1119. Pre- and Post-order Traversals (30)
1119. Pre- and Post-order Traversals (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Special作者CHEN, YueSuppose that all the keys in原创 2017-09-11 23:56:02 · 222 阅读 · 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 · 157 阅读 · 0 评论 -
PAT A1117. Eddington Number(25)
1117. Eddington Number(25)时间限制250 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueBritish astronomer Eddington liked to ride原创 2017-09-11 23:38:20 · 209 阅读 · 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 · 184 阅读 · 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 · 771 阅读 · 4 评论 -
PAT A1096. Consecutive Factors (20)
1096. Consecutive Factors (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAmong all the factors of a positive in原创 2017-09-16 17:21:12 · 180 阅读 · 0 评论 -
PAT A1059. Prime Factors (25)
1059. Prime Factors (25)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者HE, QinmingGiven any positive integer N, you are supp原创 2017-09-16 13:30:44 · 201 阅读 · 0 评论 -
PAT A1088. Rational Arithmetic (20)
1088. Rational Arithmetic (20)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueFor two rational numbers, your task is原创 2017-09-16 11:55:56 · 259 阅读 · 0 评论 -
PAT A1081. Rational Sum
1081. Rational Sum (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven N rational numbers in the form "numerat原创 2017-09-16 11:24:20 · 265 阅读 · 0 评论 -
PAT A1040. Longest Symmetric String (25)
1040. Longest Symmetric String (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a string, you are supposed原创 2017-09-15 15:22:45 · 200 阅读 · 0 评论 -
PAT A1023. Have Fun with Numbers
1023. Have Fun with Numbers (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueNotice that the number 123456789 is原创 2017-09-15 12:07:49 · 184 阅读 · 0 评论 -
PAT A1024. Palindromic Number (25)
1024. Palindromic Number (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA number that will be the same when it原创 2017-09-15 11:49:55 · 155 阅读 · 0 评论 -
PAT A1138. Postorder Traversal (25)
1138. Postorder Traversal (25)时间限制600 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary原创 2017-12-28 01:09:35 · 166 阅读 · 0 评论