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_21107168_19403.cpp:24:8: error: 'MAXN' was not declared in this scope
 node a[MAXN];  
        ^
0_0_21107168_19403.cpp:30:16: error: 'MAXN' was not declared in this scope
 vector <int> G[MAXN];  
                ^
0_0_21107168_19403.cpp: In function 'int main()':
0_0_21107168_19403.cpp:40:13: error: 'G' was not declared in this scope
             G[i].clear();  
             ^
0_0_21107168_19403.cpp:42:25: error: 'a' was not declared in this scope
             scanf("%d",&a[i].cnt);  
                         ^
0_0_21107168_19403.cpp:45:14: error: 'a' was not declared in this scope
         sort(a+1,a+n+1,cmp);  
              ^
0_0_21107168_19403.cpp:56:21: error: 'G' was not declared in this scope
                     G[a[i].ID].push_back(a[j].ID);  
                     ^
0_0_21107168_19403.cpp:62:16: error: 'G' was not declared in this scope
             if(G[a[i].ID].size()<a[i].cnt){  
                ^
0_0_21107168_19403.cpp:74:27: error: 'G' was not declared in this scope
             for(int j=0;j<G[i].size();j++){  
                           ^


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-06-29 13:12:54, Gzip enabled