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_18157077_30261.cpp:88:3: error: conflicting declaration 'typedef struct AA AA'
 } AA;
   ^
0_0_18157077_30261.cpp:14:3: note: previous declaration as 'typedef struct AA AA'
 } AA;
   ^
0_0_18157077_30261.cpp:90:12: error: redefinition of 'AA arr [1010]'
 AA arr[MAXN];
            ^
0_0_18157077_30261.cpp:16:4: note: 'AA arr [1010]' previously declared here
 AA arr[MAXN];
    ^
0_0_18157077_30261.cpp: In function 'int cmp(const void*, const void*)':
0_0_18157077_30261.cpp:92:5: error: redefinition of 'int cmp(const void*, const void*)'
 int cmp(const void * a, const void * b)
     ^
0_0_18157077_30261.cpp:18:5: note: 'int cmp(const void*, const void*)' previously defined here
 int cmp(const void * a, const void * b)
     ^
0_0_18157077_30261.cpp: In function 'int main()':
0_0_18157077_30261.cpp:97:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18157077_30261.cpp:23:5: note: 'int main()' previously defined here
 int main()
     ^


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:34:07, Gzip enabled