摘要: 关于有源上下界最大流: https://blog.csdn.net/regina8023/article/details/45815023 阅读全文
posted @ 2018-09-23 16:16 Neord 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; const int maxN = 107; const int inf = 1e9 + 7; char G[maxN][maxN], snake[maxN][maxN]; int times[maxN][maxN][15]; int n, m, sx, sy, ex, ey, ans; int dir[4][2] = {{0,1},{1... 阅读全文
posted @ 2018-09-23 15:26 Neord 阅读(256) 评论(0) 推荐(0) 编辑