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_22657455_18964.cpp:140:14: error: redefinition of 'const double eps'
 const double eps = 1E-8;
              ^
0_0_22657455_18964.cpp:14:14: note: 'const double eps' previously defined here
 const double eps = 1E-8;
              ^
0_0_22657455_18964.cpp:141:16: error: redefinition of 'const int dx4 [4]'
 const int dx4[4]={1,0,0,-1};
                ^
0_0_22657455_18964.cpp:15:11: note: 'const int dx4 [4]' previously defined here
 const int dx4[4]={1,0,0,-1};
           ^
0_0_22657455_18964.cpp:142:16: error: redefinition of 'const int dy4 [4]'
 const int dy4[4]={0,-1,1,0};
                ^
0_0_22657455_18964.cpp:16:11: note: 'const int dy4 [4]' previously defined here
 const int dy4[4]={0,-1,1,0};
           ^
0_0_22657455_18964.cpp:143:11: error: redefinition of 'const int inf'
 const int inf = 0x3f3f3f3f;
           ^
0_0_22657455_18964.cpp:17:11: note: 'const int inf' previously defined here
 const int inf = 0x3f3f3f3f;
           ^
0_0_22657455_18964.cpp:144:11: error: redefinition of 'const int N'
 const int N=2017;
           ^
0_0_22657455_18964.cpp:18:11: note: 'const int N' previously defined here
 const int N=2017;
           ^
0_0_22657455_18964.cpp:145:11: error: redefinition of 'const int maxn'
 const int maxn = 4017;
           ^
0_0_22657455_18964.cpp:19:11: note: 'const int maxn' previously defined here
 const int maxn = 4017;
           ^
0_0_22657455_18964.cpp:148:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_22657455_18964.cpp:22:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_22657455_18964.cpp:158:8: error: redefinition of 'struct SAM'
 struct SAM{
        ^
0_0_22657455_18964.cpp:32:8: error: previous definition of 'struct SAM'
 struct SAM{
        ^
0_0_22657455_18964.cpp:209:5: error: redefinition of 'SAM sam'
 SAM sam;
     ^
0_0_22657455_18964.cpp:83:5: note: 'SAM sam' previously declared here
 SAM sam;
     ^
0_0_22657455_18964.cpp:210:8: error: redefinition of 'std::string A'
 string A;
        ^
0_0_22657455_18964.cpp:84:8: note: 'std::string A' previously declared here
 string A;
        ^
0_0_22657455_18964.cpp:211:12: error: redefinition of 'LL ans [2017][2017]'
 LL ans[N][N];
            ^
0_0_22657455_18964.cpp:85:4: note: 'LL ans [2017][2017]' previously declared here
 LL ans[N][N];
    ^
0_0_22657455_18964.cpp: In function 'int main()':
0_0_22657455_18964.cpp:212:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_22657455_18964.cpp:86:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_22657455_18964.cpp:252:13: error: expected '}' at end of input
     return 0;
             ^


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 23:44:15, Gzip enabled