joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<code.length();i++) {
~^~~~~~~~~~~~~~
joi2019_ho_t3.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=v[0].size()+1;i++) {
~^~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<=v[1].size()+1;j++) {
~^~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:27:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<=v[2].size()+1;k++) {
~^~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:37:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int c0=0;c0<=v[0].size();c0++) {
~~^~~~~~~~~~~~~
joi2019_ho_t3.cpp:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int c1=0;c1<=v[1].size();c1++) {
~~^~~~~~~~~~~~~
joi2019_ho_t3.cpp:39:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int c2=0;c2<=v[2].size();c2++) {
~~^~~~~~~~~~~~~
joi2019_ho_t3.cpp:43:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(last != 0 && nxt == 0 && c0 < v[0].size()) {
~~~^~~~~~~~~~~~~
joi2019_ho_t3.cpp:46:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(last != 1 && nxt == 1 && c1 < v[1].size()) {
~~~^~~~~~~~~~~~~
joi2019_ho_t3.cpp:49:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(last != 2 && nxt == 2 && c2 < v[2].size()) {
~~~^~~~~~~~~~~~~