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_24953916_11078.cpp:7:8: error: 'maxn' was not declared in this scope
 int dp[maxn];  
        ^
0_0_24953916_11078.cpp:8:15: error: 'maxn' was not declared in this scope
 vector<int> v[maxn];  
               ^
0_0_24953916_11078.cpp:9:8: error: 'maxn' was not declared in this scope
 int bo[maxn];  
        ^
0_0_24953916_11078.cpp: In function 'void dfs(int, int)':
0_0_24953916_11078.cpp:12:8: error: 'bo' was not declared in this scope
     if(bo[num]>=2) return ;  
        ^
0_0_24953916_11078.cpp:13:5: error: 'bo' was not declared in this scope
     bo[num]=max(ord,bo[num]);  
     ^
0_0_24953916_11078.cpp:14:19: error: 'v' was not declared in this scope
     for(int i=0;i<v[num].size();i++)  
                   ^
0_0_24953916_11078.cpp: In function 'int main()':
0_0_24953916_11078.cpp:21:31: error: 'v' was not declared in this scope
         for(int i=1;i<=n;i++) v[i].clear();  
                               ^
0_0_24953916_11078.cpp:24:13: error: 'v' was not declared in this scope
             v[a].push_back(b);  
             ^
0_0_24953916_11078.cpp:28:20: error: 'bo' was not declared in this scope
             memset(bo,0,sizeof(bo));  
                    ^


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-02 06:30:34, Gzip enabled