combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:46:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if(ans == s.size())
| ~~~~^~~~~~~~~~~
combo.cpp:48:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | else if(ans == s.size() + 1)
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:54:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | if (press(s+getc(0)) == s.size() + 1)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:56:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | else if (press(s+getc(1)) == s.size() + 1)
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~