combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:36:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if (y==ans.size())ans+=x[2];
| ~^~~~~~~~~~~~
combo.cpp:37:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if (y==ans.size()+1)ans+=x[0];
| ~^~~~~~~~~~~~~~
combo.cpp:38:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if (y==ans.size()+2)ans+=x[1];
| ~^~~~~~~~~~~~~~
combo.cpp:5:12: warning: control reaches end of non-void function [-Wreturn-type]
5 | string ans, x;
| ^~~