这样写是TLE
for (int i=head[u];i;i=e[i].nxt)
这样写就过了
for (int &i=head[u];i;i=e[i].nxt)
有无大佬解释一下这个 & 是什么意思?
&