combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:17:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
17 | while (ans.size() + 1 < N) {
| ~~~~~~~~~~~~~~~^~~
combo.cpp:20:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if (c == ans.size())ans.push_back('Y');
| ~~^~~~~~~~~~~~~
combo.cpp:21:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | else if (c == ans.size() + 1)ans.push_back('B');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:22:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | else if (c == ans.size() + 2)ans.push_back('X');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:27:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (c == ans.size())ans.push_back('Y');
| ~~^~~~~~~~~~~~~
combo.cpp:28:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | else if (c == ans.size() + 1)ans.push_back('A');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:29:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | else if (c == ans.size() + 2)ans.push_back('X');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:34:19: 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 (c == ans.size())ans.push_back('Y');
| ~~^~~~~~~~~~~~~
combo.cpp:35:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | else if (c == ans.size() + 1)ans.push_back('B');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:36:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | else if (c == ans.size() + 2)ans.push_back('A');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:41:19: 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 (c == ans.size())ans.push_back('X');
| ~~^~~~~~~~~~~~~
combo.cpp:42:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | else if (c == ans.size() + 1)ans.push_back('B');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:43:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | else if (c == ans.size() + 2)ans.push_back('A');
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:47:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if (press(ans + "A" + ans + "B") == ans.size() + 1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:48:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if (press(ans + "A") == ans.size() + 1)ans.push_back('A');
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:51:30: 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 (press(ans + "X") == ans.size() + 1)ans.push_back('X');
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~