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_14277158_8968.cpp:79:2: error: stray '#' in program
 }#pragma comment(linker, "/STACK:102400000,102400000")
  ^
0_0_14277158_8968.cpp:79:3: error: 'pragma' does not name a type
 }#pragma comment(linker, "/STACK:102400000,102400000")
   ^
0_0_14277158_8968.cpp:101:14: error: redefinition of 'const double eps'
 const double eps=10e-10;
              ^
0_0_14277158_8968.cpp:23:14: note: 'const double eps' previously defined here
 const double eps=10e-10;
              ^
0_0_14277158_8968.cpp:105:11: error: redefinition of 'const int maxn'
 const int maxn=1000005;
           ^
0_0_14277158_8968.cpp:27:11: note: 'const int maxn' previously defined here
 const int maxn=1000005;
           ^
0_0_14277158_8968.cpp:106:11: error: redefinition of 'const int maxm'
 const int maxm=1000005;
           ^
0_0_14277158_8968.cpp:28:11: note: 'const int maxm' previously defined here
 const int maxm=1000005;
           ^
0_0_14277158_8968.cpp:107:13: error: redefinition of 'int nex [1000005]'
 int nex[maxm];
             ^
0_0_14277158_8968.cpp:29:5: note: 'int nex [1000005]' previously declared here
 int nex[maxm];
     ^
0_0_14277158_8968.cpp:108:13: error: redefinition of 'char s1 [1000005]'
 char s1[maxn],s2[maxm];
             ^
0_0_14277158_8968.cpp:30:6: note: 'char s1 [1000005]' previously declared here
 char s1[maxn],s2[maxm];
      ^
0_0_14277158_8968.cpp:108:22: error: redefinition of 'char s2 [1000005]'
 char s1[maxn],s2[maxm];
                      ^
0_0_14277158_8968.cpp:30:15: note: 'char s2 [1000005]' previously declared here
 char s1[maxn],s2[maxm];
               ^
0_0_14277158_8968.cpp:110:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_14277158_8968.cpp:32:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_14277158_8968.cpp:110:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_14277158_8968.cpp:32:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_14277158_8968.cpp: In function 'void getnext()':
0_0_14277158_8968.cpp:112:6: error: redefinition of 'void getnext()'
 void getnext()
      ^
0_0_14277158_8968.cpp:34:6: note: 'void getnext()' previously defined here
 void getnext()
      ^
0_0_14277158_8968.cpp: In function 'int kmp()':
0_0_14277158_8968.cpp:130:5: error: redefinition of 'int kmp()'
 int kmp()
     ^
0_0_14277158_8968.cpp:52:5: note: 'int kmp()' previously defined here
 int kmp()
     ^
0_0_14277158_8968.cpp: In function 'int main()':
0_0_14277158_8968.cpp:146:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_14277158_8968.cpp:68: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-10-05 04:56:01, Gzip enabled