0_0_20399558_8836.cpp:30:30: error: stray '#' in program
if(j==-1||p[i]==q[j])#include<stdio.h>
^
0_0_20399558_8836.cpp: In function 'int kmp(char*, char*)':
0_0_20399558_8836.cpp:30:31: error: 'include' was not declared in this scope
if(j==-1||p[i]==q[j])#include<stdio.h>
^
0_0_20399558_8836.cpp:30:39: error: 'stdio' was not declared in this scope
if(j==-1||p[i]==q[j])#include<stdio.h>
^
0_0_20399558_8836.cpp:32:1: error: expected primary-expression before 'char'
char p[1010000],q[1010000];
^
0_0_20399558_8836.cpp:35:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_20399558_8836.cpp:115:1: error: expected '}' at end of input
}
^
0_0_20399558_8836.cpp:115:1: error: expected '}' at end of input
|