/in/foo.cc: In function 'int main()':
/in/foo.cc:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++)
~~^~~~~~~~~~~~~~~
/in/foo.cc:65:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++)
~~^~~~~~~~~~~~~~~
/in/foo.cc:66:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j < states.size(); j++) next_bp[states[i]][states[j]] = 0;
~~^~~~~~~~~~~~~~~
/in/foo.cc:68:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++){
~~^~~~~~~~~~~~~~~
/in/foo.cc:71:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j < states.size(); j++){
~~^~~~~~~~~~~~~~~
/in/foo.cc:85:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++)
~~^~~~~~~~~~~~~~~
/in/foo.cc:86:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j < states.size(); j++) next_bp[states[i]][states[j]] = 0;
~~^~~~~~~~~~~~~~~
/in/foo.cc:89:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++){
~~^~~~~~~~~~~~~~~
/in/foo.cc:92:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j < states.size(); j++){
~~^~~~~~~~~~~~~~~
/in/foo.cc:95:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k < states.size(); k++){
~~^~~~~~~~~~~~~~~
/in/foo.cc:91:34: warning: unused variable 'index' [-Wunused-variable]
int max = 0, index = -1;
^~~~~
/in/foo.cc:116:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i < states.size(); i++){
~~^~~~~~~~~~~~~~~