摘要:
#include using namespace std;const int maxn=11111;const int inf=0x3f3f3f3f;int t,n;int u[maxn],v[maxn],w[maxn],head[maxnq; q.push(s); while(!q.e... 阅读全文
摘要:
#include using namespace std;const int maxn=1005;const int base=10007;typedef unsigned long long ULL;setsave;int n;int a[4][maxn],b[maxn];int id[maxn=... 阅读全文