摘要:
problemsolutioncodes#include#includeusing namespace std;const int maxn = 1010;int m, n, f[maxn][maxn];int main(){ cin>>m>>n; for... 阅读全文
摘要:
problemsolutioncodes//Kruskal#include#include#includeusing namespace std;int n, a[110][110], fa[110], co, ans;struct side{ int u, v... 阅读全文
摘要:
problemsolutioncodes//BFS+记忆化搜索#include#include#include#define maxn 100000using namespace std;int f[maxn],ans;int a, b;void bfs(){ ... 阅读全文