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_24505857_28346.cpp:80:4: error: stray '#' in program
 }  #include<iostream>  
    ^
0_0_24505857_28346.cpp:159:4: error: stray '#' in program
 }  #include<iostream>  
    ^
0_0_24505857_28346.cpp:238:4: error: stray '#' in program
 }  #include<iostream>  
    ^
0_0_24505857_28346.cpp:80:5: error: 'include' does not name a type
 }  #include<iostream>  
     ^
0_0_24505857_28346.cpp:84:11: error: redefinition of 'const int mx'
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:5:11: note: 'const int mx' previously defined here
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:86:10: error: redefinition of 'char s [500005]'
 char s[mx];  
          ^
0_0_24505857_28346.cpp:7:6: note: 'char s [500005]' previously declared here
 char s[mx];  
      ^
0_0_24505857_28346.cpp:87:10: error: redefinition of 'char t [500005]'
 char t[mx];  
          ^
0_0_24505857_28346.cpp:8:6: note: 'char t [500005]' previously declared here
 char t[mx];  
      ^
0_0_24505857_28346.cpp:88:10: error: redefinition of 'int nt [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
          ^
0_0_24505857_28346.cpp:9:5: note: 'int nt [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
     ^
0_0_24505857_28346.cpp:88:22: error: redefinition of 'int extend1 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                      ^
0_0_24505857_28346.cpp:9:12: note: 'int extend1 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
            ^
0_0_24505857_28346.cpp:88:34: error: redefinition of 'int extend2 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                                  ^
0_0_24505857_28346.cpp:9:24: note: 'int extend2 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
                        ^
0_0_24505857_28346.cpp:89:11: error: redefinition of 'int val [30]'
 int val[30],sum[mx];  
           ^
0_0_24505857_28346.cpp:10:5: note: 'int val [30]' previously declared here
 int val[30],sum[mx];  
     ^
0_0_24505857_28346.cpp:89:19: error: redefinition of 'int sum [500005]'
 int val[30],sum[mx];  
                   ^
0_0_24505857_28346.cpp:10:13: note: 'int sum [500005]' previously declared here
 int val[30],sum[mx];  
             ^
0_0_24505857_28346.cpp:91:5: error: redefinition of 'int len'
 int len,i,j,n;  
     ^
0_0_24505857_28346.cpp:12:5: note: 'int len' previously declared here
 int len,i,j,n;  
     ^
0_0_24505857_28346.cpp:91:9: error: redefinition of 'int i'
 int len,i,j,n;  
         ^
0_0_24505857_28346.cpp:12:9: note: 'int i' previously declared here
 int len,i,j,n;  
         ^
0_0_24505857_28346.cpp:91:11: error: redefinition of 'int j'
 int len,i,j,n;  
           ^
0_0_24505857_28346.cpp:12:11: note: 'int j' previously declared here
 int len,i,j,n;  
           ^
0_0_24505857_28346.cpp:91:13: error: redefinition of 'int n'
 int len,i,j,n;  
             ^
0_0_24505857_28346.cpp:12:13: note: 'int n' previously declared here
 int len,i,j,n;  
             ^
0_0_24505857_28346.cpp: In function 'void get_next(char*, int*)':
0_0_24505857_28346.cpp:93:6: error: redefinition of 'void get_next(char*, int*)'
 void get_next(char *T,int *nt)  
      ^
0_0_24505857_28346.cpp:14:6: note: 'void get_next(char*, int*)' previously defined here
 void get_next(char *T,int *nt)  
      ^
0_0_24505857_28346.cpp: In function 'void ekmp(char*, char*, int*, int*)':
0_0_24505857_28346.cpp:107:6: error: redefinition of 'void ekmp(char*, char*, int*, int*)'
 void ekmp(char *S,char *T,int *nt,int *extend)  
      ^
0_0_24505857_28346.cpp:28:6: note: 'void ekmp(char*, char*, int*, int*)' previously defined here
 void ekmp(char *S,char *T,int *nt,int *extend)  
      ^
0_0_24505857_28346.cpp: In function 'int main()':
0_0_24505857_28346.cpp:120:5: error: redefinition of 'int main()'
 int main(){  
     ^
0_0_24505857_28346.cpp:41:5: note: 'int main()' previously defined here
 int main(){  
     ^
0_0_24505857_28346.cpp: At global scope:
0_0_24505857_28346.cpp:159:5: error: 'include' does not name a type
 }  #include<iostream>  
     ^
0_0_24505857_28346.cpp:163:11: error: redefinition of 'const int mx'
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:5:11: note: 'const int mx' previously defined here
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:165:10: error: redefinition of 'char s [500005]'
 char s[mx];  
          ^
0_0_24505857_28346.cpp:7:6: note: 'char s [500005]' previously declared here
 char s[mx];  
      ^
0_0_24505857_28346.cpp:166:10: error: redefinition of 'char t [500005]'
 char t[mx];  
          ^
0_0_24505857_28346.cpp:8:6: note: 'char t [500005]' previously declared here
 char t[mx];  
      ^
0_0_24505857_28346.cpp:167:10: error: redefinition of 'int nt [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
          ^
0_0_24505857_28346.cpp:9:5: note: 'int nt [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
     ^
0_0_24505857_28346.cpp:167:22: error: redefinition of 'int extend1 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                      ^
0_0_24505857_28346.cpp:9:12: note: 'int extend1 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
            ^
0_0_24505857_28346.cpp:167:34: error: redefinition of 'int extend2 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                                  ^
0_0_24505857_28346.cpp:9:24: note: 'int extend2 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
                        ^
0_0_24505857_28346.cpp:168:11: error: redefinition of 'int val [30]'
 int val[30],sum[mx];  
           ^
0_0_24505857_28346.cpp:10:5: note: 'int val [30]' previously declared here
 int val[30],sum[mx];  
     ^
0_0_24505857_28346.cpp:168:19: error: redefinition of 'int sum [500005]'
 int val[30],sum[mx];  
                   ^
0_0_24505857_28346.cpp:10:13: note: 'int sum [500005]' previously declared here
 int val[30],sum[mx];  
             ^
0_0_24505857_28346.cpp:170:5: error: redefinition of 'int len'
 int len,i,j,n;  
     ^
0_0_24505857_28346.cpp:12:5: note: 'int len' previously declared here
 int len,i,j,n;  
     ^
0_0_24505857_28346.cpp:170:9: error: redefinition of 'int i'
 int len,i,j,n;  
         ^
0_0_24505857_28346.cpp:12:9: note: 'int i' previously declared here
 int len,i,j,n;  
         ^
0_0_24505857_28346.cpp:170:11: error: redefinition of 'int j'
 int len,i,j,n;  
           ^
0_0_24505857_28346.cpp:12:11: note: 'int j' previously declared here
 int len,i,j,n;  
           ^
0_0_24505857_28346.cpp:170:13: error: redefinition of 'int n'
 int len,i,j,n;  
             ^
0_0_24505857_28346.cpp:12:13: note: 'int n' previously declared here
 int len,i,j,n;  
             ^
0_0_24505857_28346.cpp: In function 'void get_next(char*, int*)':
0_0_24505857_28346.cpp:172:6: error: redefinition of 'void get_next(char*, int*)'
 void get_next(char *T,int *nt)  
      ^
0_0_24505857_28346.cpp:14:6: note: 'void get_next(char*, int*)' previously defined here
 void get_next(char *T,int *nt)  
      ^
0_0_24505857_28346.cpp: In function 'void ekmp(char*, char*, int*, int*)':
0_0_24505857_28346.cpp:186:6: error: redefinition of 'void ekmp(char*, char*, int*, int*)'
 void ekmp(char *S,char *T,int *nt,int *extend)  
      ^
0_0_24505857_28346.cpp:28:6: note: 'void ekmp(char*, char*, int*, int*)' previously defined here
 void ekmp(char *S,char *T,int *nt,int *extend)  
      ^
0_0_24505857_28346.cpp: In function 'int main()':
0_0_24505857_28346.cpp:199:5: error: redefinition of 'int main()'
 int main(){  
     ^
0_0_24505857_28346.cpp:41:5: note: 'int main()' previously defined here
 int main(){  
     ^
0_0_24505857_28346.cpp: At global scope:
0_0_24505857_28346.cpp:238:5: error: 'include' does not name a type
 }  #include<iostream>  
     ^
0_0_24505857_28346.cpp:242:11: error: redefinition of 'const int mx'
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:5:11: note: 'const int mx' previously defined here
 const int mx=500005;  
           ^
0_0_24505857_28346.cpp:244:10: error: redefinition of 'char s [500005]'
 char s[mx];  
          ^
0_0_24505857_28346.cpp:7:6: note: 'char s [500005]' previously declared here
 char s[mx];  
      ^
0_0_24505857_28346.cpp:245:10: error: redefinition of 'char t [500005]'
 char t[mx];  
          ^
0_0_24505857_28346.cpp:8:6: note: 'char t [500005]' previously declared here
 char t[mx];  
      ^
0_0_24505857_28346.cpp:246:10: error: redefinition of 'int nt [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
          ^
0_0_24505857_28346.cpp:9:5: note: 'int nt [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
     ^
0_0_24505857_28346.cpp:246:22: error: redefinition of 'int extend1 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                      ^
0_0_24505857_28346.cpp:9:12: note: 'int extend1 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
            ^
0_0_24505857_28346.cpp:246:34: error: redefinition of 'int extend2 [500005]'
 int nt[mx],extend1[mx],extend2[mx];  
                                  ^
0_0_24505857_28346.cpp:9:24: note: 'int extend2 [500005]' previously declared here
 int nt[mx],extend1[mx],extend2[mx];  
                        ^
0_0_24505857_28346.cpp:247:11: error: redefinition of 'int val [30]'
 int va


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 19:31:38, Gzip enabled