F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 08:49:53, Gzip enabled