paint.cpp: In function 'int minimumInstructions(int, int, int, std::vector<int>, std::vector<int>, std::vector<std::vector<int> >)':
paint.cpp:14:8: error: 'n' was not declared in this scope
14 | if(n%m>0){
| ^
paint.cpp:14:10: error: 'm' was not declared in this scope
14 | if(n%m>0){
| ^
paint.cpp:18:19: error: 'm' was not declared in this scope
18 | for(int i=0;i<m;i++){
| ^
paint.cpp:19:16: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
19 | if(A[i][0]==C[0]){
| ^
paint.cpp:25:19: error: 'n' was not declared in this scope
25 | for(int i=0;i<n;i++){
| ^
paint.cpp:26:22: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
26 | if(C[i]!=A[s][0]){
| ^
paint.cpp:31:15: error: 'm' was not declared in this scope
31 | if(s==m) s-=m;
| ^
paint.cpp:34:12: error: 'n' was not declared in this scope
34 | return n/m;
| ^
paint.cpp:34:14: error: 'm' was not declared in this scope
34 | return n/m;
| ^