0_0_25296156_24144.cpp:11:11: error: size of array 'edge' has non-integral type 'double'
}edge[maxm];
^
0_0_25296156_24144.cpp:12:14: error: size of array 'head' has non-integral type 'double'
int head[maxn],cnt;
^
0_0_25296156_24144.cpp:13:13: error: size of array 'ans' has non-integral type 'double'
int ans[maxm];
^
0_0_25296156_24144.cpp:14:13: error: size of array 'vis' has non-integral type 'double'
int vis[maxm];
^
0_0_25296156_24144.cpp:15:13: error: size of array 'sum' has non-integral type 'double'
int sum[maxn];
^
0_0_25296156_24144.cpp:16:14: error: size of array 'd' has non-integral type 'double'
int d[maxn][2];
^
0_0_25296156_24144.cpp: In function 'void init()':
0_0_25296156_24144.cpp:25:29: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_25296156_24144.cpp: In function 'void dfs(int, int)':
0_0_25296156_24144.cpp:34:38: error: expected ';' before ')' token
for(i = head[u],i!=-1;i=edge[i].next){
^
|