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_23146184_21377.cpp:57:8: error: redefinition of 'int a [6]'
 int a[6],pri,n;
        ^
0_0_23146184_21377.cpp:3:5: note: 'int a [6]' previously declared here
 int a[6],pri,n;  
     ^
0_0_23146184_21377.cpp:57:10: error: redefinition of 'int pri'
 int a[6],pri,n;
          ^
0_0_23146184_21377.cpp:3:10: note: 'int pri' previously declared here
 int a[6],pri,n;  
          ^
0_0_23146184_21377.cpp:57:14: error: redefinition of 'int n'
 int a[6],pri,n;
              ^
0_0_23146184_21377.cpp:3:14: note: 'int n' previously declared here
 int a[6],pri,n;  
              ^
0_0_23146184_21377.cpp: In function 'long long int getf(int, int)':
0_0_23146184_21377.cpp:59:9: error: redefinition of 'long long int getf(int, int)'
 __int64 getf(int x,int i)
         ^
0_0_23146184_21377.cpp:5:9: note: 'long long int getf(int, int)' previously defined here
 __int64 getf(int x,int i)  
         ^
0_0_23146184_21377.cpp: In function 'void solve()':
0_0_23146184_21377.cpp:70:7: error: redefinition of 'void solve()'
 void  solve()
       ^
0_0_23146184_21377.cpp:16:7: note: 'void solve()' previously defined here
 void  solve()  
       ^
0_0_23146184_21377.cpp: In function 'int main()':
0_0_23146184_21377.cpp:90:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23146184_21377.cpp:36: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-26 18:02:57, Gzip enabled