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_26367250_24644.cpp: In function 'void E_KMP(char*, char*)':
0_0_26367250_24644.cpp:25:2: error: 'nbsp' was not declared in this scope
      //×ÔÆ¥Åä¹ý³Ì
  ^
0_0_26367250_24644.cpp:32:63: error: 'i' was not declared in this scope
            int Len=k+p[k]-1,L=p[i-k];
                                                               ^
0_0_26367250_24644.cpp:35:42: error: 'else' without a previous 'if'
            else
                                          ^
0_0_26367250_24644.cpp:48:66: error: 'i' was not declared in this scope
            int Len=k+eKMP[k]-1,L=p[i-k];
                                                                  ^
0_0_26367250_24644.cpp:51:42: error: 'else' without a previous 'if'
            else
                                          ^
0_0_26367250_24644.cpp: In function 'int main()':
0_0_26367250_24644.cpp:62:2: error: 'nbsp' was not declared in this scope
      ios_base::sync_with_stdio(false);
  ^
0_0_26367250_24644.cpp:71:66: error: 'i' was not declared in this scope
                  s1[i+len]=s1[i];
                                                                  ^
0_0_26367250_24644.cpp:80:84: error: break statement not within loop or switch
                        break;
                                                                                    ^
0_0_26367250_24644.cpp:88:63: error: 'else' without a previous 'if'
                  else
                                                               ^
0_0_26367250_24644.cpp:91:84: error: 'else' without a previous 'if'
                        else ++L;
                                                                                    ^
0_0_26367250_24644.cpp:94:71: error: 'Cas' was not declared in this scope
            printf("Case %d: %d %d %d\n",Cas,L,E,G);
                                                                       ^


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-17 09:48:50, Gzip enabled