摘要:
dfs代码: #include<iostream>#include<Algorithm>#include<cstring>#include<cstdio>#include<cstdlib>using namespace std;int cnt,m;int head[50005];bool s[500 阅读全文
摘要:
#include<iostream>#include<algorithm>#include<queue>#include<cstring>#define maxn 100006using namespace std;struct node{ int w; int to; int next;}edge 阅读全文