/in/foo.cc: In function 'bool Check()':
/in/foo.cc:33:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k>=Line[j+1].size()||cnt!=Line[j+1][k])return false;
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:38:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((!cnt&&k!=Line[j+1].size())||(cnt&&(k!=(int)Line[j+1].size()-1||cnt!=Line[j+1][k])))return false;
~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool Check2(int)':
/in/foo.cc:49:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k>=Line[j+1].size()||cnt!=Line[j+1][k])return false;
~^~~~~~~~~~~~~~~~~~
/in/foo.cc:54:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((!cnt&&k>Line[j+1].size())||(cnt&&(k>(int)Line[j+1].size()-1||cnt>Line[j+1][k])))return false;
~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Dfs(int)':
/in/foo.cc:79:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j>=Row[Depth].size()||cnt!=Row[Depth][j]) {
~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:87:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((!cnt&&j!=Row[Depth].size())||(cnt&&(j!=(int)Row[Depth].size()-1||cnt!=Row[Depth].back())))bj=0;
~^~~~~~~~~~~~~~~~~~~