combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:51:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | if(ps==b.size())
| ~~^~~~~~~~~~
combo.cpp:54:8: 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(ps==b.size()+1)
| ~~^~~~~~~~~~~~
combo.cpp:57:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | if(ps==b.size()+2)
| ~~^~~~~~~~~~~~
combo.cpp:62:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if(press(s)==b.size()+1)
| ~~~~~~~~^~~~~~~~~~~~
combo.cpp:65:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | if(press(s)==b.size()+1)
| ~~~~~~~~^~~~~~~~~~~~
combo.cpp:21:9: warning: unused variable 'i' [-Wunused-variable]
21 | int num,i=0;
| ^