combo.cpp: In lambda function:
combo.cpp:11:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if(press(S+"A"+S+"B") > S.length())
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
combo.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | if(press(S+"A") > S.length()) S += 'A'; else S += 'B';
| ~~~~~~~~~~~~~^~~~~~~~~~~~
combo.cpp:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | if(press(S+"X") > S.length()) S += 'X'; else S += 'Y';
| ~~~~~~~~~~~~~^~~~~~~~~~~~
combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:18:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | if(S.length() == N) return S;
| ~~~~~~~~~~~^~~~
combo.cpp: In lambda function:
combo.cpp:33:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(t == S.length()+2) S += candi[0];
| ~~^~~~~~~~~~~~~~~
combo.cpp:34:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | else if(t == S.length()+1) S += candi[1];
| ~~^~~~~~~~~~~~~~~