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_18882539_25280.cpp:5:1: error: '_int64' does not name a type
 _int64 N,M;
 ^
0_0_18882539_25280.cpp:6:1: error: '_int64' does not name a type
 _int64 a[1000007],b[1000001];
 ^
0_0_18882539_25280.cpp:7:1: error: '_int64' does not name a type
 _int64 n[1000001];
 ^
0_0_18882539_25280.cpp: In function 'void getNext()':
0_0_18882539_25280.cpp:11:5: error: 'n' was not declared in this scope
     n[0] = 0;
     ^
0_0_18882539_25280.cpp:12:20: error: 'M' was not declared in this scope
     for(int i=1; i<M; i++){
                    ^
0_0_18882539_25280.cpp:13:12: error: 'b' was not declared in this scope
         if(b[i] == b[n[i-1]]){
            ^
0_0_18882539_25280.cpp: In function 'int isKmpString()':
0_0_18882539_25280.cpp:22:20: error: 'N' was not declared in this scope
     for(int i=0; i<N; ){
                    ^
0_0_18882539_25280.cpp:24:21: error: 'M' was not declared in this scope
         if(i > (N - M)){
                     ^
0_0_18882539_25280.cpp:28:20: error: 'M' was not declared in this scope
         for(k=0; k<M;){
                    ^
0_0_18882539_25280.cpp:29:16: error: 'a' was not declared in this scope
             if(a[c] == b[k]){
                ^
0_0_18882539_25280.cpp:29:24: error: 'b' was not declared in this scope
             if(a[c] == b[k]){
                        ^
0_0_18882539_25280.cpp:33:28: error: 'n' was not declared in this scope
                 i = (i + k-n[k]+1);
                            ^
0_0_18882539_25280.cpp:37:17: error: 'M' was not declared in this scope
         if(k == M){
                 ^
0_0_18882539_25280.cpp: In function 'int main()':
0_0_18882539_25280.cpp:49:29: error: 'N' was not declared in this scope
         scanf("%I64d%I64d",&N,&M);
                             ^
0_0_18882539_25280.cpp:49:32: error: 'M' was not declared in this scope
         scanf("%I64d%I64d",&N,&M);
                                ^
0_0_18882539_25280.cpp:51:29: error: 'a' was not declared in this scope
             scanf("%I64d", &a[i]);
                             ^
0_0_18882539_25280.cpp:53:29: error: 'b' was not declared in this scope
             scanf("%I64d", &b[i]);
                             ^


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-12-01 17:02:11, Gzip enabled