/in/foo.cc: In function 'bool checkBAC()':
/in/foo.cc:61:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ps&&a[ps+1]!=b[i])ps=nxts[ps];ps+=(a[ps+1]==b[i]);
^~~~~
/in/foo.cc:61:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(ps&&a[ps+1]!=b[i])ps=nxts[ps];ps+=(a[ps+1]==b[i]);
^~
/in/foo.cc:62:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(pt&&b[pt+1]!=a[i])pt=nxtt[pt];pt+=(b[pt+1]==a[i]);
^~~~~
/in/foo.cc:62:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(pt&&b[pt+1]!=a[i])pt=nxtt[pt];pt+=(b[pt+1]==a[i]);
^~
/in/foo.cc: In function 'bool checkACB()':
/in/foo.cc:74:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(ps!=n+1&&a[ps-1]!=b[i])ps=n+1-nxts[n-ps+1];ps-=(a[ps-1]==b[i]);
^~~~~
/in/foo.cc:74:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(ps!=n+1&&a[ps-1]!=b[i])ps=n+1-nxts[n-ps+1];ps-=(a[ps-1]==b[i]);
^~
/in/foo.cc:75:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(pt!=n+1&&b[pt-1]!=a[i])pt=n+1-nxtt[n-pt+1];pt-=(b[pt-1]==a[i]);
^~~~~
/in/foo.cc:75:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while(pt!=n+1&&b[pt-1]!=a[i])pt=n+1-nxtt[n-pt+1];pt-=(b[pt-1]==a[i]);
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:147:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(re int i=1;i<=n;++i)a[i]=read();for(re int i=1;i<=n;++i)b[i]=read();
^~~
/in/foo.cc:147:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(re int i=1;i<=n;++i)a[i]=read();for(re int i=1;i<=n;++i)b[i]=read();
^~~
/in/foo.cc:146:19: warning: unused variable 'm' [-Wunused-variable]
n=read();re int m=read();
^
/in/foo.cc: In function 'bool checkCBA()':
/in/foo.cc:97:29: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(mx>i)p[i]=min(mx-i,p[id*2-i]);
~~^~
/in/foo.cc:95:11: note: 'id' was declared here
int mx=0,id;
^~