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++)
......
24 | FOR(j, 0, con[c[i]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:24:9: note: in expansion of macro 'FOR'
24 | 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]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:37:9: note: in expansion of macro 'FOR'
37 | 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++)
......
43 | FOR(j, 0, con[c[i+m]].size()){
| ~~~~~~~~~~~~~~~~~~~~~~~~
paint.cpp:43:9: note: in expansion of macro 'FOR'
43 | FOR(j, 0, con[c[i+m]].size()){
| ^~~
paint.cpp:51:10: warning: unused variable 'sol' [-Wunused-variable]
51 | bool sol = true;
| ^~~
paint.cpp:12:13: warning: control reaches end of non-void function [-Wreturn-type]
12 | vi num(m);
| ^