combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:21:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | while (res.length() < N) {
| ~~~~~~~~~~~~~^~~
combo.cpp:22:26: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | if (res.length() == N - 1) {
| ~~~~~~~~~~~~~^~~~~~~~
combo.cpp:32:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if (val == res.length()+2)res += v[1];
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:33:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | else if (val == res.length()+1)res += v[0];
| ~~~~^~~~~~~~~~~~~~~~~