--------PAT甲级--------
UNuomo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT (Advanced Level) 1003. Emergency (25)
这道题就是Dijkstra,没有用到DFS神马的~个人觉得Dijkstra就是细节太多,很容易写错或者忘记一些什么的。。。提交了好几次。。。然后参考了大佬的代码~#include#include#includeusing namespace std;const int maxn = 500;const int INF = 1000000000;int G[maxn][max原创 2017-03-08 19:08:32 · 341 阅读 · 0 评论 -
1011. World Cup Betting (20)
1011. World Cup Betting (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueWith the 2010 FIFA World Cup running, fo原创 2017-07-03 10:33:42 · 421 阅读 · 0 评论 -
PAT (Advanced Level) 1121. Damn Single (25)
1121. Damn Single (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, Yue"Damn Single (单身狗)" is the Chinese nickname fo原创 2017-03-14 09:16:00 · 485 阅读 · 0 评论 -
PAT (Advanced Level) 1122. Hamiltonian Cycle (25)
1122. Hamiltonian Cycle (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe "Hamilton cycle problem" is to find原创 2017-03-13 20:19:57 · 452 阅读 · 0 评论 -
PAT (Advanced Level) 1123. 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-03-12 12:42:48 · 409 阅读 · 0 评论 -
PAT (Advanced Level) 1127. ZigZagging on a Tree (30)
1127. ZigZagging on a Tree (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary原创 2017-03-06 22:35:34 · 1253 阅读 · 0 评论 -
PAT (Advanced Level) 1004. Counting Leaves (30)
1004. Counting Leaves (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA family hierarchy is usually presented by a原创 2017-03-08 21:05:34 · 404 阅读 · 0 评论 -
PAT (Advanced Level) 1018. Public Bike Management (30)
1018. Public Bike Management (30)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThere is a public bike service in H原创 2017-03-11 19:07:15 · 439 阅读 · 0 评论 -
PAT (Advanced Level) 1020. Tree Traversals (25)
1020. Tree Traversals (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueSuppose that all the keys in a binary tree原创 2017-03-06 13:41:03 · 409 阅读 · 0 评论 -
PAT (Advanced Level) 1126. Eulerian Path (25)
1126. Eulerian Path (25)时间限制300 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIn graph theory, an Eulerian path is a path原创 2017-03-05 21:53:26 · 583 阅读 · 0 评论 -
PAT (Advanced Level) 1005. Spell It Right (20)
1005. Spell It Right (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-negative integer N, your task i原创 2017-03-09 00:09:02 · 421 阅读 · 0 评论 -
PAT (Advanced Level) 1124. Raffle for Weibo Followers (20)
今天在考场上智障了啊。。。其实比较很简单的一道题,不知道为什么在考场写的就乱七八糟的,最后还有一个测试点没过。。。回家重新写了一下,,就诸葛亮了好了,废话不多说,上代码:#include#include#includeusing namespace std;const int maxn = 10010;int m,n,s;char a[maxn][30];bool h原创 2017-03-04 23:36:35 · 465 阅读 · 0 评论 -
PAT (Advanced Level) 1125. Chain the Ropes (25)
1125. Chain the Ropes (25)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven some segments of rope, you are suppo原创 2017-03-05 11:16:16 · 652 阅读 · 0 评论 -
牛客网 PAT(甲级) 1012 Kuchiguse (20)
The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker's personality. Such a preference is called原创 2017-06-15 14:14:15 · 984 阅读 · 0 评论
分享