paint.cpp: In function 'long long int recur(long long int, long long int)':
paint.cpp:13:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(s_idx == S.size() && c_idx == C.size()) { //works
| ~~~~~~^~~~~~~~~~~
paint.cpp:13:35: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(s_idx == S.size() && c_idx == C.size()) { //works
| ~~~~~~^~~~~~~~~~~
paint.cpp:16:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(s_idx >= S.size() || c_idx > C.size()) { //out of bounds
| ~~~~~~^~~~~~~~~~~
paint.cpp:16:35: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(s_idx >= S.size() || c_idx > C.size()) { //out of bounds
| ~~~~~~^~~~~~~~~~
paint.cpp:53:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if(s_idx + C[c_idx] < S.size()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
paint.cpp:58:10: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(x == white.size() || white[x] >= s_idx + C[c_idx]) {
| ~~^~~~~~~~~~~~~~~
paint.cpp:63:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | if(s_idx + C[c_idx] == S.size() || S[s_idx + C[c_idx]] != 'X') {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
paint.cpp: In function 'std::string solve_puzzle(std::string, std::vector<int>)':
paint.cpp:83:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(long long i = 0; i < S.size(); i++) {
| ~~^~~~~~~~~~
paint.cpp:88:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for(long long i = 0; i < c.size(); i++) {
| ~~^~~~~~~~~~
paint.cpp:91:29: warning: unused variable 'k' [-Wunused-variable]
91 | long long n = s.size(), k = c.size();
| ^
paint.cpp:97:15: warning: unused variable 'ok' [-Wunused-variable]
97 | long long ok = recur(0, 0);
| ^~