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_31198041_9958.cpp:99:14: error: redefinition of 'const double PI'
 const double PI = acos(-1.0);
              ^
0_0_31198041_9958.cpp:16:14: note: 'const double PI' previously defined here
 const double PI = acos(-1.0);
              ^
0_0_31198041_9958.cpp:100:11: error: redefinition of 'const int maxn'
 const int maxn = 1005;
           ^
0_0_31198041_9958.cpp:17:11: note: 'const int maxn' previously defined here
 const int maxn = 1005;
           ^
0_0_31198041_9958.cpp:101:11: error: redefinition of 'const int INF'
 const int INF = 0x3f3f3f;
           ^
0_0_31198041_9958.cpp:18:11: note: 'const int INF' previously defined here
 const int INF = 0x3f3f3f;
           ^
0_0_31198041_9958.cpp:102:10: error: redefinition of 'const ll linf'
 const ll linf = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_31198041_9958.cpp:19:10: note: 'const ll linf' previously defined here
 const ll linf = 0x3f3f3f3f3f3f3f3f;
          ^
0_0_31198041_9958.cpp:103:11: error: redefinition of 'const int mod'
 const int mod = 1e9+7;
           ^
0_0_31198041_9958.cpp:20:11: note: 'const int mod' previously defined here
 const int mod = 1e9+7;
           ^
0_0_31198041_9958.cpp:105:16: error: redefinition of 'll a [1005][1005]'
 ll a[maxn][maxn];
                ^
0_0_31198041_9958.cpp:22:4: note: 'll a [1005][1005]' previously declared here
 ll a[maxn][maxn];
    ^
0_0_31198041_9958.cpp:106:10: error: redefinition of 'll x [1005]'
 ll x[maxn];
          ^
0_0_31198041_9958.cpp:23:4: note: 'll x [1005]' previously declared here
 ll x[maxn];
    ^
0_0_31198041_9958.cpp:107:17: error: redefinition of 'bool free_x [1005]'
 bool free_x[maxn];
                 ^
0_0_31198041_9958.cpp:24:6: note: 'bool free_x [1005]' previously declared here
 bool free_x[maxn];
      ^
0_0_31198041_9958.cpp:108:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_31198041_9958.cpp:25:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_31198041_9958.cpp:108:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_31198041_9958.cpp:25:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_31198041_9958.cpp: In function 'int main()':
0_0_31198041_9958.cpp:166:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_31198041_9958.cpp:70: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-26 14:14:49, Gzip enabled