foo.cc: In function 'bool A(int)':
foo.cc:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i=0;i<n;++i) if(k2[i]!=c[i]) o1=0;
^~~
foo.cc:22:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=0;i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i=0;i<n;++i) if(k2[i]!=c[i]) o1=0;
^~~
foo.cc:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i=0;i<n;++i) if(k1[i]!=c[i]) o2=0;
^~~
foo.cc:23:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=0;i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i=0;i<n;++i) if(k1[i]!=c[i]) o2=0;
^~~
foo.cc: In function 'bool B(int)':
foo.cc:37:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i(0);i<n;++i) if(k1[i]!=a[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=c[i]) o1=0;
^~~
foo.cc:37:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i(0);i<n;++i) if(k1[i]!=a[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=c[i]) o1=0;
^~~
foo.cc:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i(0);i<n;++i) if(k2[i]!=a[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=c[i]) o2=0;
^~~
foo.cc:38:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i(0);i<n;++i) if(k2[i]!=a[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=c[i]) o2=0;
^~~
foo.cc: In function 'bool C(int)':
foo.cc:52:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i(0);i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=a[i]) o1=0;
^~~
foo.cc:52:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i(0);i<n;++i) if(k1[i]!=b[i]) o1=0;for(int i(0);i<n;++i) if(k2[i]!=a[i]) o1=0;
^~~
foo.cc:53:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i(0);i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=a[i]) o2=0;
^~~
foo.cc:53:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i(0);i<n;++i) if(k2[i]!=b[i]) o2=0;for(int i(0);i<n;++i) if(k1[i]!=a[i]) o2=0;
^~~
foo.cc: In function 'int main()':
foo.cc:65:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=n-1;i>=0;--i) cout<<a[i];return 0;
^~~
foo.cc:65:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=n-1;i>=0;--i) cout<<a[i];return 0;
^~~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-06T08:00:06.807Z","handle":"2020-08-06T08:00:06.807Z","cache_start":"2020-08-06T08:00:06.813Z","read_cases":"2020-08-06T08:00:06.918Z","judge":"2020-08-06T08:00:06.919Z","done":"2020-08-06T08:00:07.359Z"}