https://www.luogu.com.cn/problem/P3227 简单最小割~ #include #include using namespace lastweapon; int P, Q, R, D, s, t; int id(int p, int q, int r) { return r*P*Q + p*Q + q; } bool inGrid(int p, int q) { re…
https://www.luogu.com.cn/problem/P3227 简单最小割~ #include #include using namespace lastweapon; int P, Q, R, D, s, t; int id(int p, int q, int r) { return r*P*Q + p*Q + q; } bool inGrid(int p, int q) { re…
讨论
登录后参与讨论
还没有评论,来说第一句吧。