https://www.luogu.com.cn/problem/P2046 简单的平面图最小割,难点是证这个是最小割。 代码主打的是一手对称。= = #include #include using namespace lastweapon; int n, s, t; int id(int x, int y) { if (x == -1 || y == n) return s; if (x == …
https://www.luogu.com.cn/problem/P2046 简单的平面图最小割,难点是证这个是最小割。 代码主打的是一手对称。= = #include #include using namespace lastweapon; int n, s, t; int id(int x, int y) { if (x == -1 || y == n) return s; if (x == …
讨论
登录后参与讨论
还没有评论,来说第一句吧。