0_0_33062962_22839.cpp:5:20: error: expected unqualified-id before 'int'
struct edge{int to,int next}e[M];
^
0_0_33062962_22839.cpp: In function 'void ins(int, int)':
0_0_33062962_22839.cpp:7:48: error: 'struct edge' has no member named 'next'
void ins(int u,int v){++cnt;e[cnt].to=v;e[cnt].next=head[u];head[u]=cnt;}
^
0_0_33062962_22839.cpp: In function 'void dfs(int)':
0_0_33062962_22839.cpp:12:29: error: 'struct edge' has no member named 'next'
for(int i=head[u];i;i=e[i].next){
^
|