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_25656636_22152.cpp:74:5: error: redefinition of 'int n'
 int n,r;
     ^
0_0_25656636_22152.cpp:12:5: note: 'int n' previously declared here
 int n,r;
     ^
0_0_25656636_22152.cpp:74:7: error: redefinition of 'int r'
 int n,r;
       ^
0_0_25656636_22152.cpp:12:7: note: 'int r' previously declared here
 int n,r;
       ^
0_0_25656636_22152.cpp:75:8: error: redefinition of 'struct Node'
 struct Node{
        ^
0_0_25656636_22152.cpp:13:8: error: previous definition of 'struct Node'
 struct Node{
        ^
0_0_25656636_22152.cpp:77:6: error: invalid type in declaration before ';' token
 }p[N];
      ^
0_0_25656636_22152.cpp:77:6: error: conflicting declaration 'int p [1006]'
0_0_25656636_22152.cpp:15:2: note: previous declaration as 'Node p [1006]'
 }p[N];
  ^
0_0_25656636_22152.cpp:78:9: error: redefinition of 'int yy [1006]'
 int yy[N];
         ^
0_0_25656636_22152.cpp:16:5: note: 'int yy [1006]' previously declared here
 int yy[N];
     ^
0_0_25656636_22152.cpp:79:9: error: redefinition of 'int xx [1006]'
 int xx[N];
         ^
0_0_25656636_22152.cpp:17:5: note: 'int xx [1006]' previously declared here
 int xx[N];
     ^
0_0_25656636_22152.cpp: In function 'int main()':
0_0_25656636_22152.cpp:80:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25656636_22152.cpp:18: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-15 07:43:28, Gzip enabled