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_26388745_18337.cpp:71:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_26388745_18337.cpp:71:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_26388745_18337.cpp:82:11: error: redefinition of 'const int inf'
 const int inf=0xfffffff;
           ^
0_0_26388745_18337.cpp:12:11: note: 'const int inf' previously defined here
 const int inf=0xfffffff;
           ^
0_0_26388745_18337.cpp:83:11: error: redefinition of 'const int maxn'
 const int maxn=1e5+10;
           ^
0_0_26388745_18337.cpp:13:11: note: 'const int maxn' previously defined here
 const int maxn=1e5+10;
           ^
0_0_26388745_18337.cpp:84:5: error: redefinition of 'int n'
 int n,m,k;
     ^
0_0_26388745_18337.cpp:14:5: note: 'int n' previously declared here
 int n,m,k;
     ^
0_0_26388745_18337.cpp:84:7: error: redefinition of 'int m'
 int n,m,k;
       ^
0_0_26388745_18337.cpp:14:7: note: 'int m' previously declared here
 int n,m,k;
       ^
0_0_26388745_18337.cpp:84:9: error: redefinition of 'int k'
 int n,m,k;
         ^
0_0_26388745_18337.cpp:14:9: note: 'int k' previously declared here
 int n,m,k;
         ^
0_0_26388745_18337.cpp:85:11: error: redefinition of 'int a [100010]'
 int a[maxn],b[maxn];
           ^
0_0_26388745_18337.cpp:15:5: note: 'int a [100010]' previously declared here
 int a[maxn],b[maxn];
     ^
0_0_26388745_18337.cpp:85:19: error: redefinition of 'int b [100010]'
 int a[maxn],b[maxn];
                   ^
0_0_26388745_18337.cpp:15:13: note: 'int b [100010]' previously declared here
 int a[maxn],b[maxn];
             ^
0_0_26388745_18337.cpp:86:13: error: redefinition of 'int nxt [100010]'
 int nxt[maxn];
             ^
0_0_26388745_18337.cpp:16:5: note: 'int nxt [100010]' previously declared here
 int nxt[maxn];
     ^
0_0_26388745_18337.cpp: In function 'bool check(int*, int, int*, int)':
0_0_26388745_18337.cpp:88:6: error: redefinition of 'bool check(int*, int, int*, int)'
 bool check(int t[],int i,int s[],int j){
      ^
0_0_26388745_18337.cpp:18:6: note: 'bool check(int*, int, int*, int)' previously defined here
 bool check(int t[],int i,int s[],int j){
      ^
0_0_26388745_18337.cpp: In function 'void getnext()':
0_0_26388745_18337.cpp:94:6: error: redefinition of 'void getnext()'
 void getnext(){
      ^
0_0_26388745_18337.cpp:24:6: note: 'void getnext()' previously defined here
 void getnext(){
      ^
0_0_26388745_18337.cpp: In function 'int kmp()':
0_0_26388745_18337.cpp:105:5: error: redefinition of 'int kmp()'
 int kmp(){
     ^
0_0_26388745_18337.cpp:35:5: note: 'int kmp()' previously defined here
 int kmp(){
     ^
0_0_26388745_18337.cpp: In function 'int main()':
0_0_26388745_18337.cpp:122:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_26388745_18337.cpp:52: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-06-14 07:15:48, Gzip enabled