combo.cpp: In lambda function:
combo.cpp:11:22: 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+"AB") > 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 lambda function:
combo.cpp:32:10: 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(t == S.length()+2) S += candi[0];
| ~~^~~~~~~~~~~~~~~
combo.cpp:33:15: 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(t == S.length()+1) S += candi[1];
| ~~^~~~~~~~~~~~~~~