Q:用vector存图与普通数组存有什么区别(时间空间方面的)
void ins(int a,int b) { edge[++cnt].nxt=head[a]; edge[cnt].to=b; head[a]=cnt; }