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_20824780_31205.cpp: In function 'bool ok(int*)':
0_0_20824780_31205.cpp:57:6: error: redefinition of 'bool ok(int*)'
 bool ok(int a[5])  
      ^
0_0_20824780_31205.cpp:5:6: note: 'bool ok(int*)' previously defined here
 bool ok(int a[5])  
      ^
0_0_20824780_31205.cpp: At global scope:
0_0_20824780_31205.cpp:63:9: error: redefinition of 'int a [10]'
 int a[10],b[10];  
         ^
0_0_20824780_31205.cpp:11:5: note: 'int a [10]' previously declared here
 int a[10],b[10];  
     ^
0_0_20824780_31205.cpp:63:15: error: redefinition of 'int b [10]'
 int a[10],b[10];  
               ^
0_0_20824780_31205.cpp:11:11: note: 'int b [10]' previously declared here
 int a[10],b[10];  
           ^
0_0_20824780_31205.cpp: In function 'int main()':
0_0_20824780_31205.cpp:64:5: error: redefinition of 'int main()'
 int main()  
     ^
0_0_20824780_31205.cpp:12: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-11-17 01:41:14, Gzip enabled