combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:25:28: 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 == a.size()) seq.push_back('A');
| ~~~~^~~~~~~~~~~
combo.cpp:29:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if (ans == b.size()) seq.push_back('B');
| ~~~~^~~~~~~~~~~
combo.cpp:41:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if (ans == a.size()) {
| ~~~~^~~~~~~~~~~
combo.cpp:47:32: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
47 | if (seq.size() != i+1) seq.push_back('Y');
| ~~~~~~~~~~~^~~~~~
combo.cpp:37:21: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
37 | if (j != data) {
| ^~