0_0_24194749_5502.cpp:8:17: error: expected initializer before numeric constant
const int MAXN 20010;
^
0_0_24194749_5502.cpp:9:9: error: 'MAXN' was not declared in this scope
int chu[MAXN],ru[MAXN];
^
0_0_24194749_5502.cpp:9:18: error: 'MAXN' was not declared in this scope
int chu[MAXN],ru[MAXN];
^
0_0_24194749_5502.cpp:10:16: error: 'MAXN' was not declared in this scope
vector<int>map[MAXN];
^
0_0_24194749_5502.cpp: In function 'int dfs(int)':
0_0_24194749_5502.cpp:14:4: error: 'chu' was not declared in this scope
if(chu[cur]==0)
^
0_0_24194749_5502.cpp:16:11: error: 'chu' was not declared in this scope
for(i=0;i<chu[cur];i++)
^
0_0_24194749_5502.cpp:17:17: error: 'map' was not declared in this scope
f.push_back(dfs(map[cur][i]));
^
0_0_24194749_5502.cpp:19:11: error: 'chu' was not declared in this scope
return f[(chu[cur]+1)/2-1];
^
0_0_24194749_5502.cpp: In function 'int main()':
0_0_24194749_5502.cpp:35:2: error: 'map' was not declared in this scope
map[i].clear();
^
0_0_24194749_5502.cpp:36:9: error: 'ru' was not declared in this scope
memset(ru,0,sizeof(ru));
^
0_0_24194749_5502.cpp:38:8: error: 'chu' was not declared in this scope
{scan(chu[i]);
^
0_0_24194749_5502.cpp:42:2: error: 'map' was not declared in this scope
map[i].push_back(a);
^
|