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_14141853_5345.cpp:133:14: error: redefinition of 'const double EPS'
 const double EPS = 1e-8;
              ^
0_0_14141853_5345.cpp:39:14: note: 'const double EPS' previously defined here
 const double EPS = 1e-8;
              ^
0_0_14141853_5345.cpp:134:11: error: redefinition of 'const int MOD'
 const int MOD = 1000000007;
           ^
0_0_14141853_5345.cpp:40:11: note: 'const int MOD' previously defined here
 const int MOD = 1000000007;
           ^
0_0_14141853_5345.cpp:138:11: error: redefinition of 'const int maxn'
 const int maxn = 555;
           ^
0_0_14141853_5345.cpp:44:11: note: 'const int maxn' previously defined here
 const int maxn = 555;
           ^
0_0_14141853_5345.cpp:139:13: error: redefinition of 'int Ans [555]'
 int Ans[maxn];
             ^
0_0_14141853_5345.cpp:45:5: note: 'int Ans [555]' previously declared here
 int Ans[maxn];
     ^
0_0_14141853_5345.cpp:140:17: error: redefinition of 'int G [555][555]'
 int G[maxn][maxn];
                 ^
0_0_14141853_5345.cpp:46:5: note: 'int G [555][555]' previously declared here
 int G[maxn][maxn];
     ^
0_0_14141853_5345.cpp:142:13: error: redefinition of 'int deg [555]'
 int deg[maxn];
             ^
0_0_14141853_5345.cpp:48:5: note: 'int deg [555]' previously declared here
 int deg[maxn];
     ^
0_0_14141853_5345.cpp: In function 'void toposort(int)':
0_0_14141853_5345.cpp:144:6: error: redefinition of 'void toposort(int)'
 void toposort(int n){
      ^
0_0_14141853_5345.cpp:50:6: note: 'void toposort(int)' previously defined here
 void toposort(int n){
      ^
0_0_14141853_5345.cpp: In function 'int main()':
0_0_14141853_5345.cpp:164:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_14141853_5345.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-12-04 23:46:29, Gzip enabled