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