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_26504869_12337.cpp:96:11: error: redefinition of 'int a [1005]'
 int a[1005];
           ^
0_0_26504869_12337.cpp:7:5: note: 'int a [1005]' previously declared here
 int a[1005];
     ^
0_0_26504869_12337.cpp:97:17: error: redefinition of 'int ans [55][1005]'
 int ans[55][1005];
                 ^
0_0_26504869_12337.cpp:8:5: note: 'int ans [55][1005]' previously declared here
 int ans[55][1005];
     ^
0_0_26504869_12337.cpp: In function 'int scanff()':
0_0_26504869_12337.cpp:99:5: error: redefinition of 'int scanff()'
 int scanff()
     ^
0_0_26504869_12337.cpp:10:5: note: 'int scanff()' previously defined here
 int scanff()
     ^
0_0_26504869_12337.cpp: In function 'void Dec(int*, int*, int&)':
0_0_26504869_12337.cpp:108:6: error: redefinition of 'void Dec(int*, int*, int&)'
 void Dec(int a[], int b[], int &len)
      ^
0_0_26504869_12337.cpp:19:6: note: 'void Dec(int*, int*, int&)' previously defined here
 void Dec(int a[], int b[], int &len)
      ^
0_0_26504869_12337.cpp: In function 'int work(int)':
0_0_26504869_12337.cpp:128:5: error: redefinition of 'int work(int)'
 int work(int len)
     ^
0_0_26504869_12337.cpp:39:5: note: 'int work(int)' previously defined here
 int work(int len)
     ^
0_0_26504869_12337.cpp: In function 'int main()':
0_0_26504869_12337.cpp:162:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_26504869_12337.cpp:73: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-15 07:10:57, Gzip enabled