0_0_19944831_9677.cpp: In function 'bool judge(int)':
0_0_19944831_9677.cpp:5:13: error: 'edge' was not declared in this scope
int len=edge[u].size();
^
0_0_19944831_9677.cpp:6:5: error: 'cnt' was not declared in this scope
cnt[vis[u]-1]++;
^
0_0_19944831_9677.cpp:6:9: error: 'vis' was not declared in this scope
cnt[vis[u]-1]++;
^
0_0_19944831_9677.cpp: In function 'int dfs(int, int, int)':
0_0_19944831_9677.cpp:24:5: error: 'vis' was not declared in this scope
if(vis[x]==-1)val[x]=val;
^
0_0_19944831_9677.cpp:24:21: error: invalid types 'int[int]' for array subscript
if(vis[x]==-1)val[x]=val;
^
0_0_19944831_9677.cpp:26:12: error: 'head' was not declared in this scope
for(int i=head[x];i!=-1;i=edge[i].next)
^
0_0_19944831_9677.cpp:26:28: error: 'edge' was not declared in this scope
for(int i=head[x];i!=-1;i=edge[i].next)
^
0_0_19944831_9677.cpp:29:6: error: 'vis' was not declared in this scope
if(vis[x]==dfs(v,x,vis[x]^1))
^
0_0_19944831_9677.cpp:30:4: error: 'hasc' was not declared in this scope
hasc=1;
^
0_0_19944831_9677.cpp:32:9: error: 'vis' was not declared in this scope
return vis[x];
^
|