求助,请问要开多少点和边?
const int maxn=50010; int head[maxn*52],tot; struct nd{ int nxt,to,w; }e[maxn*200];
这个过了。