摘要: 题意:网络流的裸题,1为源点,n为汇点,给定每条边的容量,求最大流,用EK算法。 代码: #include <cstdio>#include <queue>#include <algorithm>#include <cstring>#define N 300#define INF 0x7ffffff 阅读全文
posted @ 2017-08-19 16:15 LMissher 阅读(197) 评论(0) 推荐(0)
摘要: C. Leha and Function time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Leha and Functio 阅读全文
posted @ 2017-08-19 12:41 LMissher 阅读(609) 评论(0) 推荐(0)
摘要: B. Godsend time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Godsend time limit per tes 阅读全文
posted @ 2017-08-19 12:31 LMissher 阅读(400) 评论(0) 推荐(0)