paint.cpp: In function 'int minimumInstructions(int, int, int, std::vector<int>, std::vector<int>, std::vector<std::vector<int> >)':
paint.cpp:42:17: warning: unused variable 'j' [-Wunused-variable]
42 | int j=4;
| ^
paint.cpp:45:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int i=0;i<C.size();i++)
| ~^~~~~~~~~
paint.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int i=0; i<B.size(); i++)
| ~^~~~~~~~~
paint.cpp:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int j=0; j<B[i].size(); j++)
| ~^~~~~~~~~~~~
paint.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for(int i=0;i<ll.size();i++)
| ~^~~~~~~~~~
paint.cpp:69:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i=0; i<C.size(); i++)
| ~^~~~~~~~~
paint.cpp:74:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int i=0; i<B.size(); i++)
| ~^~~~~~~~~
paint.cpp:76:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for(int j=0; j<B[i].size(); j++)
| ~^~~~~~~~~~~~
paint.cpp:92:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
92 | if(good(x,i));
| ^~
paint.cpp:93:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
93 | {
| ^
paint.cpp:110:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for(int i=1; i<v.size(); i++)
| ~^~~~~~~~~
paint.cpp:122:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | for(int i=1; i<v.size(); i++)
| ~^~~~~~~~~
paint.cpp:131:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | if(i==v.size()-1)
| ~^~~~~~~~~~~~