paint.cpp: In function 'int minimumInstructions(int, int, int, std::vector<int>, std::vector<int>, std::vector<std::vector<int> >)':
paint.cpp:30:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int j = 0; j < clr[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
paint.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int k = 0; k < pos[i].size(); k++) {dp[clr[i][j]][k] = 1;}
| ~~^~~~~~~~~~~~~~~
paint.cpp:41:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int j = 0; j < pos[ci].size(); j++)
| ~~^~~~~~~~~~~~~~~~
paint.cpp:44:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (; k < pos[pi].size() && pos[pi][k] < (pos[ci][j] + M - 1) % M; k++);
| ~~^~~~~~~~~~~~~~~~
paint.cpp:45:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if (k < pos[pi].size() && pos[pi][k] == (pos[ci][j] + M - 1) % M)
| ~~^~~~~~~~~~~~~~~~