combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:22:14: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | if(s.size()<N-1){
| ~~~~~~~~^~~~
combo.cpp:25:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if(ans==s.size()+2) s+=a[idx+1];
| ~~~^~~~~~~~~~~~
combo.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | else if(ans==s.size()+1) s+=a[idx+2];
| ~~~^~~~~~~~~~~~
combo.cpp:32:15: 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(press(q)==s.size()+1){
| ~~~~~~~~^~~~~~~~~~~~
combo.cpp:34:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if(press(q2)==s.size()+1) s+=a[idx+1];
| ~~~~~~~~~^~~~~~~~~~~~