combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:61:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if(press(S + remain[h]) == S.size() + 1)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:69:15: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
69 | if(S.size() == g)
| ~~~~~~~~~^~~~
combo.cpp:55:7: warning: unused variable 'cnt' [-Wunused-variable]
55 | int cnt = 0;
| ^~~
combo.cpp: In function 'int getInd(char)':
combo.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
17 | }
| ^