0_0_39602188_29668.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
1 | #include
| ^
0_0_39602188_29668.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
2 | #include
| ^
0_0_39602188_29668.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
3 | #include
| ^
0_0_39602188_29668.cpp: In function 'void exkmp(int)':
0_0_39602188_29668.cpp:25:13: error: expected primary-expression before 'while'
25 | while(T1[i+z[i]]==T1[z[i]+1]&&i+z[i]<=m)z[i]++;
| ^~~~~
0_0_39602188_29668.cpp:24:32: error: expected ')' before 'while'
24 | if(z[j]+i-10?pos+r-i:0;
| ~ ^
| )
25 | while(T1[i+z[i]]==T1[z[i]+1]&&i+z[i]<=m)z[i]++;
| ~~~~~
0_0_39602188_29668.cpp: At global scope:
0_0_39602188_29668.cpp:29:1: error: expected declaration before '}' token
29 | }
| ^
0_0_39602188_29668.cpp: In function 'int main()':
0_0_39602188_29668.cpp:32:5: error: 'scanf' was not declared in this scope
32 | scanf("%d",&t);
| ^~~~~
0_0_39602188_29668.cpp:35:12: error: 'strlen' was not declared in this scope
35 | m1=strlen(T1+1),m2=strlen(T2+1);
| ^~~~~~
0_0_39602188_29668.cpp:1:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | #include
0_0_39602188_29668.cpp:51:33: error: 'swap' was not declared in this scope
51 | for(int i=1;i<=m1/2;i++)swap(T1[i],T1[m1-i+1]);
| ^~~~
0_0_39602188_29668.cpp:52:32: error: 'swap' was not declared in this scope
52 | for(int i=1;i<=n/2;i++)swap(T1[i+m1+1],T1[n-i+m1+2]);
| ^~~~
0_0_39602188_29668.cpp:61:9: error: 'printf' was not declared in this scope
61 | printf("%lld\n",ans);
| ^~~~~~
0_0_39602188_29668.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #include
|