/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:95:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[L].size(); i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:98:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[R].size(); i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:101:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<exist[L].size(); i++)
~^~~~~~~~~~~~~~~~