0_0_30606063_5440.cpp:5:7: error: 'N' was not declared in this scope
int p[N];
^
0_0_30606063_5440.cpp:6:8: error: 'N' was not declared in this scope
char a[N], b[N];
^
0_0_30606063_5440.cpp:6:14: error: 'N' was not declared in this scope
char a[N], b[N];
^
0_0_30606063_5440.cpp: In function 'int main()':
0_0_30606063_5440.cpp:9:23: error: 'a' was not declared in this scope
while(scanf("%s %s", a + 1, b + 1) == 2) {
^
0_0_30606063_5440.cpp:9:30: error: 'b' was not declared in this scope
while(scanf("%s %s", a + 1, b + 1) == 2) {
^
0_0_30606063_5440.cpp:16:45: error: 'p' was not declared in this scope
while(j > 0 && b[i + 1] != b[j + 1]) j = p[j];
^
0_0_30606063_5440.cpp:18:4: error: 'p' was not declared in this scope
p[i + 1] = j;
^
0_0_30606063_5440.cpp:23:45: error: 'p' was not declared in this scope
while(j > 0 && a[i + 1] != b[j + 1]) j = p[j];
^
0_0_30606063_5440.cpp:28:21: error: 'pritnf' was not declared in this scope
pritnf("%d\n", ans);
^
|