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++)
......
19 | FOR(j, 0, con[c[i]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:19:9: note: in expansion of macro 'FOR'
19 | 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++)
......
31 | FOR(j, 0, con[c[i]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:31:9: note: in expansion of macro 'FOR'
31 | 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++)
......
37 | FOR(j, 0, con[c[i+m]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:37:9: note: in expansion of macro 'FOR'
37 | FOR(j, 0, con[c[i+m]].size()){
| ^~~