0_0_30055577_10418.cpp: In function 'void dfs(int)':
0_0_30055577_10418.cpp:4:8: error: 'vis' was not declared in this scope
if(vis[x])return ;
^
0_0_30055577_10418.cpp:5:5: error: 'vis' was not declared in this scope
vis[x] = 1;
^
0_0_30055577_10418.cpp:6:5: error: 'cnt' was not declared in this scope
cnt+=d[x];
^
0_0_30055577_10418.cpp:6:10: error: 'd' was not declared in this scope
cnt+=d[x];
^
0_0_30055577_10418.cpp:7:15: error: 'v' was not declared in this scope
int len = v[x].size();
^
0_0_30055577_10418.cpp: In function 'int main()':
0_0_30055577_10418.cpp:17:5: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_30055577_10418.cpp:22:27: error: 'scanf' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_30055577_10418.cpp:23:9: error: 'sumd' was not declared in this scope
sumd = 0;
^
0_0_30055577_10418.cpp:24:9: error: 'cnt' was not declared in this scope
cnt = 0;
^
0_0_30055577_10418.cpp:27:25: error: 'a' was not declared in this scope
scanf("%d",&a[i]);
^
0_0_30055577_10418.cpp:28:13: error: 'd' was not declared in this scope
d[i+1] = 0;
^
0_0_30055577_10418.cpp:29:13: error: 'vis' was not declared in this scope
vis[i+1] = 0;
^
0_0_30055577_10418.cpp:30:13: error: 'v' was not declared in this scope
v[i+1].clear();
^
0_0_30055577_10418.cpp:35:13: error: 'd' was not declared in this scope
d[l]++;
^
0_0_30055577_10418.cpp:37:13: error: 'v' was not declared in this scope
v[l].push_back(r);
^
0_0_30055577_10418.cpp:42:16: error: 'd' was not declared in this scope
if(d[i]){dfs(i);break;}
^
0_0_30055577_10418.cpp:45:15: error: 'cout' was not declared in this scope
else {cout<<"Impossible\n";continue;}
^
0_0_30055577_10418.cpp:50:16: error: 'd' was not declared in this scope
if(d[i]&1)
^
0_0_30055577_10418.cpp:53:38: error: 'a' was not declared in this scope
if((d[i]/2+1)&1)ans^=a[i];
^
0_0_30055577_10418.cpp:57:34: error: 'a' was not declared in this scope
if(d[i]/2&1)ans^=a[i];
^
|