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_21866463_24584.cpp:97:11: error: redefinition of 'const int maxn'
 const int maxn=2500+10;
           ^
0_0_21866463_24584.cpp:6:11: note: 'const int maxn' previously defined here
 const int maxn=2500+10;
           ^
0_0_21866463_24584.cpp:98:12: error: redefinition of 'char a [2510]'
 char a[maxn],b[maxn];
            ^
0_0_21866463_24584.cpp:7:6: note: 'char a [2510]' previously declared here
 char a[maxn],b[maxn];
      ^
0_0_21866463_24584.cpp:98:20: error: redefinition of 'char b [2510]'
 char a[maxn],b[maxn];
                    ^
0_0_21866463_24584.cpp:7:14: note: 'char b [2510]' previously declared here
 char a[maxn],b[maxn];
              ^
0_0_21866463_24584.cpp:99:13: error: redefinition of 'bool dp [2510]'
 bool dp[maxn];
             ^
0_0_21866463_24584.cpp:8:6: note: 'bool dp [2510]' previously declared here
 bool dp[maxn];
      ^
0_0_21866463_24584.cpp:100:8: error: redefinition of 'struct lzq'
 struct lzq
        ^
0_0_21866463_24584.cpp:9:8: error: previous definition of 'struct lzq'
 struct lzq
        ^
0_0_21866463_24584.cpp:103:10: error: invalid type in declaration before ';' token
 } s[maxn];
          ^
0_0_21866463_24584.cpp:103:10: error: conflicting declaration 'int s [2510]'
0_0_21866463_24584.cpp:12:3: note: previous declaration as 'lzq s [2510]'
 } s[maxn];
   ^
0_0_21866463_24584.cpp: In function 'void init()':
0_0_21866463_24584.cpp:104:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_21866463_24584.cpp:13:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_21866463_24584.cpp: In function 'bool solve()':
0_0_21866463_24584.cpp:121:6: error: redefinition of 'bool solve()'
 bool solve()
      ^
0_0_21866463_24584.cpp:30:6: note: 'bool solve()' previously defined here
 bool solve()
      ^
0_0_21866463_24584.cpp: In function 'int main()':
0_0_21866463_24584.cpp:171:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21866463_24584.cpp:80: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 12:33:26, Gzip enabled