上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页
摘要: In this problem, we will define a graph called star graph, and the question is to find the minimum distance between two given nodes in the star graph. 阅读全文
posted @ 2017-09-24 20:35 Billyshuai 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 转载 https://www.oyohyee.com/post/HDU/5984.html 阅读全文
posted @ 2017-09-21 17:06 Billyshuai 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 24253 Accepted: 8060 Description Give a tree with n vertices,each edge has a length(po 阅读全文
posted @ 2017-09-20 20:14 Billyshuai 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; const int N=110; int pre[N],nex[N]; int z[N],y[N]; int wan[N]; int fa[N]; int findx(int x) { return fa[x]=(x==fa[x]?... 阅读全文
posted @ 2017-09-19 17:55 Billyshuai 阅读(443) 评论(0) 推荐(0) 编辑
摘要: Detachment Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1686 Accepted Submission(s): 467 Probl 阅读全文
posted @ 2017-09-18 19:33 Billyshuai 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Destroying The Graph Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8503 Accepted: 2753 Special Judge Description Alice and Bob play the f 阅读全文
posted @ 2017-09-08 11:20 Billyshuai 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Paratroopers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8837 Accepted: 2663 Description It is year 2500 A.D. and there is a terrible w 阅读全文
posted @ 2017-09-08 09:19 Billyshuai 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Firing Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 10905 Accepted: 3291 Description You’ve finally got mad at “the world’s most stupid 阅读全文
posted @ 2017-09-07 15:10 Billyshuai 阅读(180) 评论(0) 推荐(0) 编辑
摘要: The Maximum Number of Strong Kings Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2302 Accepted: 1056 Description A tournament can be repr 阅读全文
posted @ 2017-09-07 12:16 Billyshuai 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Unique AttackTime Limit: 5 Seconds Memory Limit: 32768 KB N supercomputers in the United States of Antarctica are connected into a network. A network 阅读全文
posted @ 2017-09-07 10:44 Billyshuai 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 16 下一页