void add(int from,int to,int dis) { e[++tot].next=head[from]; e[tot].to=to; e[tot].dis=dis; head[from]=tot; }
这里head是什么意思??