paint.cpp: In function 'int minimumInstructions(int, int, int, vi, vi, std::vector<std::vector<int> >)':
paint.cpp:6:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define FOR(i, a, b) for(int i = a; i < b; i++)
......
22 | FOR(j, 0, con[c[i]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:22:9: note: in expansion of macro 'FOR'
22 | FOR(j, 0, con[c[i]].size()){
| ^~~
paint.cpp:6:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define FOR(i, a, b) for(int i = a; i < b; i++)
......
33 | FOR(j, 0, con[c[i]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:33:9: note: in expansion of macro 'FOR'
33 | FOR(j, 0, con[c[i]].size()){
| ^~~
paint.cpp:6:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define FOR(i, a, b) for(int i = a; i < b; i++)
......
39 | FOR(j, 0, con[c[i+m]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:39:9: note: in expansion of macro 'FOR'
39 | FOR(j, 0, con[c[i+m]].size()){
| ^~~