摘要:
Let’s move from initial matrix to the bipartite graph. The matrix elements (i, j) for which i + j are even should be place to one part, the matrix ele 阅读全文
摘要:
按边建模,二叉树一条入边两条出边 判断就要用到mcmf的好处了 阅读全文
摘要:
没啥好说的 C++ include include include include using namespace std; const int maxn = 1e5+11; const int oo = 0x3f3f3f3f; int to[maxnf&&dis[v] dis[u]+w){ dis 阅读全文
摘要:
```C++ include using namespace std; const int maxn = 1e5+11; const int oo = 0x3f3f3f3f; typedef long long ll; ll cost[maxnf&&dis[v] dis[u]+w){ dis[v]= 阅读全文