paint.cpp: In function 'std::string solve_puzzle(std::string, std::vector<int>)':
paint.cpp:17:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for( int i=0 ; i<s.size() ; i++ ) nas += 'X';
| ~^~~~~~~~~
paint.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for( int i=0 ; i<c.size() ; i++ ) pref[i] = ( i ? pref[i-1] : 0 ) + c[i];
| ~^~~~~~~~~
paint.cpp:24:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for( int i=0 ; i<c.size() ; i++ ){
| ~^~~~~~~~~
paint.cpp:26:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if( i != c.size() -1 ) nas += '_';
| ~~^~~~~~~~~~~~~~
paint.cpp:22:7: warning: unused variable 'ind' [-Wunused-variable]
22 | int ind = 0;
| ^~~
paint.cpp:37:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for( int i=0 ; i <c.size() ; i++ ){
| ~~^~~~~~~~~