摘要:
最小生成树板子 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; struct edge{ int u, v, w; }graph[20005]; inline int read() { i 阅读全文
摘要:
题目传送门 思路 这是个板子题,二分图的最小点覆盖 #include <iostream> using namespace std; int e[500][500], n, m, match[500], ans, book[500], cow[500]; int dfs(int u){ for (i 阅读全文