随笔分类 -  强连通

摘要:Knights of the Round TableTime Limit:7000MSMemory Limit:65536KTotal Submissions:10804Accepted:3553DescriptionBeing a knight is a very attractive caree... 阅读全文
posted @ 2015-08-08 20:13 一样菜 阅读(273) 评论(0) 推荐(0) 编辑
摘要:Prince and PrincessTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1267Accepted Submission(s): 358... 阅读全文
posted @ 2015-05-07 17:47 一样菜 阅读(242) 评论(0) 推荐(0) 编辑
摘要:Strongly connectedTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1802Accepted Submission(s): 746P... 阅读全文
posted @ 2015-05-07 12:18 一样菜 阅读(332) 评论(0) 推荐(0) 编辑
摘要:NetworkTime Limit:5000MSMemory Limit:65536KTotal Submissions:7082Accepted:2555DescriptionA network administrator manages a large network. The network ... 阅读全文
posted @ 2015-03-12 21:05 一样菜 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Traffic Real Time Query SystemTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1929Accepted Submiss... 阅读全文
posted @ 2014-10-11 12:32 一样菜 阅读(216) 评论(0) 推荐(0) 编辑
摘要:http://poj.org/problem?id=2553The Bottom of a GraphTime Limit:3000MSMemory Limit:65536KTotal Submissions:8748Accepted:3625DescriptionWe will use the f... 阅读全文
posted @ 2014-08-17 12:22 一样菜 阅读(170) 评论(0) 推荐(0) 编辑
摘要:poj2117ElectricityTime Limit:5000MSMemory Limit:65536KTotal Submissions:3603Accepted:1213DescriptionBlackouts and Dark Nights (also known as ACM++) is... 阅读全文
posted @ 2014-07-09 21:22 一样菜 阅读(362) 评论(0) 推荐(0) 编辑
摘要:hdu4612Warm upTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 3184Accepted Submission(s): 720Prob... 阅读全文
posted @ 2014-05-11 09:56 一样菜 阅读(298) 评论(0) 推荐(0) 编辑
摘要:poj3177Redundant PathsTime Limit:1000MSMemory Limit:65536KTotal Submissions:8558Accepted:3712DescriptionIn order to get from one of the F (1 2 and 1 ... 阅读全文
posted @ 2014-04-30 10:49 一样菜 阅读(681) 评论(0) 推荐(0) 编辑
摘要:hdu3594CactusTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1131Accepted Submission(s): 542Proble... 阅读全文
posted @ 2014-04-02 17:42 一样菜 阅读(248) 评论(0) 推荐(0) 编辑
摘要:hdu3836求出强分量后缩点处理得到分支图,对分支图的每个强连通分量统计出度和入度。需要的边数就是:统计 入度=0的顶点数 和 出度=0的顶点数,选择两者中较大的一个,才能确保一个强连通图。程序:#include"string.h"#include"stdio.h"#include"iostrea... 阅读全文
posted @ 2014-03-31 23:27 一样菜 阅读(190) 评论(0) 推荐(0) 编辑
摘要:点击打开链接题目链接:hdu 4738题目大意:曹操有N个岛,这些岛用M座桥连接起来 每座桥有士兵把守(也可能没有) 周瑜想让这N个岛不连通,但只能炸掉一座桥 并且炸掉一座桥需要派出不小于守桥士兵数的人去解题思路: 首先判断图是否连通,不连通则不需要去... 阅读全文
posted @ 2014-03-30 17:28 一样菜 阅读(222) 评论(0) 推荐(0) 编辑
摘要:hdu1269迷宫城堡Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6081Accepted Submission(s): 2694Problem... 阅读全文
posted @ 2014-03-29 17:44 一样菜 阅读(668) 评论(0) 推荐(0) 编辑