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_23217280_12703.cpp:104:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f3f;
           ^
0_0_23217280_12703.cpp:15:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f3f; 
           ^
0_0_23217280_12703.cpp:106:14: error: redefinition of 'const double PI'
 const double PI = acos(-1.0);
              ^
0_0_23217280_12703.cpp:17:14: note: 'const double PI' previously defined here
 const double PI = acos(-1.0); 
              ^
0_0_23217280_12703.cpp:113:11: error: redefinition of 'const int MAXN'
 const int MAXN = 22;
           ^
0_0_23217280_12703.cpp:25:11: note: 'const int MAXN' previously defined here
 const int MAXN = 22; 
           ^
0_0_23217280_12703.cpp:115:11: error: redefinition of 'const int mid'
 const int mid = 4650;
           ^
0_0_23217280_12703.cpp:27:11: note: 'const int mid' previously defined here
 const int mid = 4650; 
           ^
0_0_23217280_12703.cpp:117:13: error: redefinition of 'int pos [22]'
 int pos[MAXN], w[MAXN];
             ^
0_0_23217280_12703.cpp:29:5: note: 'int pos [22]' previously declared here
 int pos[MAXN], w[MAXN]; 
     ^
0_0_23217280_12703.cpp:117:22: error: redefinition of 'int w [22]'
 int pos[MAXN], w[MAXN];
                      ^
0_0_23217280_12703.cpp:29:16: note: 'int w [22]' previously declared here
 int pos[MAXN], w[MAXN]; 
                ^
0_0_23217280_12703.cpp:119:19: error: redefinition of 'int f [22][9310]'
 int f[22][mid*2+10];
                   ^
0_0_23217280_12703.cpp:31:5: note: 'int f [22][9310]' previously declared here
 int f[22][mid*2+10]; 
     ^
0_0_23217280_12703.cpp:121:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_23217280_12703.cpp:33:5: note: 'int n' previously declared here
 int n, m; 
     ^
0_0_23217280_12703.cpp:121:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_23217280_12703.cpp:33:8: note: 'int m' previously declared here
 int n, m; 
        ^
0_0_23217280_12703.cpp: In function 'int main()':
0_0_23217280_12703.cpp:124:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_23217280_12703.cpp:37: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-05-26 03:59:29, Gzip enabled