
图论
文章平均质量分 92
此间少年_leozp
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj1511 Invitation Cards
题目:http://poj.org/problem?id=1511 题意:就是求所有的节点到节点 1,然后从节点1返回的最小距离的和。 简单SPFA,和poj 3268 无多少差异。 #include #include #include #include #include #include #include #include #include #include #include #inclu原创 2014-08-20 16:15:38 · 816 阅读 · 0 评论 -
POJ 3281 Dining
Dining Time Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Submit Status Description Cows are such finicky eaters. Each cow has a preference f原创 2016-07-12 10:58:35 · 219 阅读 · 0 评论 -
poj 1274 (二分匹配)
The Perfect Stall Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20863 Accepted: 9417 Description Farmer John completed his new barn just last week, compl原创 2015-09-09 09:59:48 · 409 阅读 · 0 评论 -
zoj1586(prim)
QS Network Time Limit: 2 Seconds Memory Limit: 65536 KB Sunny Cup 2003 - Preliminary Round April 20th, 12:00 - 17:00 Problem E: QS Network In the planet w-503 of galaxy cgb, there is原创 2015-08-28 10:03:10 · 380 阅读 · 0 评论 -
poj2031(prim)
欢迎参加hihoCoder挑战赛14和15,赢取100件Tshirt! Language: Default Constructing Roads Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20997 Accepted: 8875原创 2015-08-28 09:45:11 · 500 阅读 · 0 评论 -
poj 2031(prim)
欢迎参加hihoCoder挑战赛14和15,赢取100件Tshirt! Language: Default Building a Space Station Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5944 Accepted: 2952原创 2015-08-28 09:34:52 · 688 阅读 · 0 评论 -
zoj1456 Minimum Transport Cost
ZOJ Problem Set - 1456 Minimum Transport Cost Time Limit: 2 Seconds Memory Limit: 65536 KB These are N cities in Spring country. Between each pair of cities there may be one transportat原创 2014-08-17 15:09:25 · 1173 阅读 · 1 评论 -
poj1273
Drainage Ditches 点击打开链接 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 56466 Accepted: 21694 Description Every time it rains on Farmer John's fields, a p原创 2014-08-27 10:51:41 · 1046 阅读 · 0 评论 -
poj3259 Wormholes
题意:N块地,M条路,W个虫洞。判断有没有可以是时间倒流的路径。注意把W次输入的w[i]改成-w[i]。 SPFA:判断有没有入队次数超过N的点。原创 2014-08-14 09:44:43 · 1290 阅读 · 0 评论 -
poj3268俩次SPFA。。。。。
俩次SPFA。。。。原创 2014-08-13 20:23:08 · 1134 阅读 · 8 评论 -
poj1679 The Unique MST
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20421 Accepted: 7183 Description Given a connected undirected graph, tell if its minimum spann原创 2014-08-11 13:58:37 · 901 阅读 · 0 评论 -
Light oj 1074 - Extended Traffic
1074 - Extended Traffic PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Dhaka city is getting crowded and noisy day by day. Cert原创 2016-07-12 11:03:41 · 601 阅读 · 1 评论