/in/foo.cc: In function 'bool CHECK(int, int)':
/in/foo.cc:26:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k+1>lh[l].size()||cnt>lh[l][k++]) return 0;
~~~^~~~~~~~~~~~~
/in/foo.cc:34:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k+1>hh[h].size()||cnt>hh[h][k++]) return 0;
~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool FINIALCHECK()':
/in/foo.cc:45:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=n+1;j++)
^~~
/in/foo.cc:52:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
if (k!=lh[i].size()) return 0;
^~
/in/foo.cc:52:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k!=lh[i].size()) return 0;
~^~~~~~~~~~~~~~
/in/foo.cc:57:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=m+1;j++)
^~~
/in/foo.cc:64:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
if (k!=hh[i].size()) return 0;
^~
/in/foo.cc:64:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k!=hh[i].size()) return 0;
~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:102:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=m;j++)
^~~
/in/foo.cc:105:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
cout<<endl;
^~~~