/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:29:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[cnt].size(); i++)First[cnt][exist[cnt][i]]=Last[cnt][exist[cnt][i]]=0;
~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[x].size(); i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:68:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<exist[i].size(); j++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:71:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<exist[i].size(); j++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:94:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[L].size(); i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:97:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[R].size(); i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:100:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[L].size(); i++)
~^~~~~~~~~~~~~~~~