摘要:
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Ari the monster is not an ordinary m... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(368)
评论(0)
推荐(0)
摘要:
time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Bogdan has a birthday today and mom ... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(188)
评论(0)
推荐(0)
摘要:
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Wilbur is playing with a set of n po... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(271)
评论(0)
推荐(0)
摘要:
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Spongebob is already tired trying to... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(160)
评论(0)
推荐(0)
摘要:
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAyrat is looking for the perfect c... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(130)
评论(0)
推荐(0)
摘要:
反正最近就一直在1600分左右徘徊;好想回蓝名啊 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(51)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 128 MB【问题描述】农夫约翰的奶牛们喜欢通过电邮保持联系,于是她们建立了一个奶牛电脑网络,以便互相交流。这些机器用如下的方式发送电邮:如果存 在一个由c台电脑组成的序列a1,a2,…,a(c),且a1与a2相连... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(198)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 128 MB【问题描述】你第一天接手三鹿牛奶公司就发生了一件倒霉的事情:公司不小心发送了一批有三聚氰胺的牛奶。很不幸,你发现这件事的时候,有三聚氰胺的牛奶已经进入了送货网。这个送货网很大,而且关系复杂。你知道这批牛... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(169)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 64 MB【问题描述】汶川地震发生时,四川**中学正在上课,一看地震发生,老师们立刻带领x名学生逃跑,整个学校可以抽象地看成一个有向图,图中有n个点 ,m条边。1号点为教室,n号点为安全地带,每条边都只能容纳一定量... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(118)
评论(0)
推荐(0)
摘要:
原创路径:http://www.wutianqi.com/?p=3107Edmond Karp算法的大概思想:反复寻找源点s到汇点t之间的增广路径,若有,找出增广路径上每一段[容量-流量]的最小值delta,若无,则结束。在寻找增广路径时,可以用BFS来找,并且更新残留网络的值(涉及到反向边)。而找... 阅读全文
posted @ 2017-10-06 19:22
AWCXV
阅读(1113)
评论(0)
推荐(0)

浙公网安备 33010602011771号