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_26754939_21149.cpp:7:9: error: 'maxn' was not declared in this scope
 int num[maxn];
         ^
0_0_26754939_21149.cpp:8:16: error: 'maxn' was not declared in this scope
 vector<int>vec[maxn];
                ^
0_0_26754939_21149.cpp: In function 'void dfs(int, int)':
0_0_26754939_21149.cpp:12:5: error: 'num' was not declared in this scope
     num[u]=1;
     ^
0_0_26754939_21149.cpp:13:19: error: 'vec' was not declared in this scope
     for(int i=0;i<vec[u].size();i++)
                   ^
0_0_26754939_21149.cpp: In function 'int main()':
0_0_26754939_21149.cpp:27:13: error: 'num' was not declared in this scope
         mst(num,0);
             ^
0_0_26754939_21149.cpp:3:26: note: in definition of macro 'mst'
 #define mst(a,b) memset((a),(b),sizeof(a))
                          ^
0_0_26754939_21149.cpp:31:13: error: 'vec' was not declared in this scope
             vec[i].clear();
             ^
0_0_26754939_21149.cpp:36:13: error: 'vec' was not declared in this scope
             vec[u].push_back(v);
             ^


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-12-04 11:32:10, Gzip enabled