combo.cpp: In function 'std::string nxt(std::string)':
combo.cpp:29:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int j = 0; j < can.size(); ++j)
| ~~^~~~~~~~~~~~
combo.cpp: In function 'std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > check(int, int, std::string&)':
combo.cpp:53:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if (ask.size() + 1 > mxlen) break;
| ~~~~~~~~~~~~~~~^~~~~~~
combo.cpp:58:44: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
58 | while(ask1.size() + ask.size() <= mxlen){
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
combo.cpp:59:30: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
59 | if (z.size() == cur + 1) break;
| ~~~~~~~~~^~~~~~~~~~
combo.cpp:66:38: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
66 | if (ask1.size() + ask.size() > mxlen){
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
combo.cpp:51:13: warning: unused variable 'add' [-Wunused-variable]
51 | int add = 0;
| ^~~
combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:93:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for (int i = 0; i < can.size(); ++i)
| ~~^~~~~~~~~~~~
combo.cpp:98:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
98 | while(base.size() + 1 != n){
| ~~~~~~~~~~~~~~~~^~~~
combo.cpp:102:46: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
102 | while(check(l, n * 4, base).S.size() > l) ++l;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
combo.cpp:99:13: warning: unused variable 'ost' [-Wunused-variable]
99 | int ost = n - base.size();
| ^~~
combo.cpp:113:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
113 | while(base.size() != n){
| ~~~~~~~~~~~~^~~~
combo.cpp:120:37: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
120 | if (ask.size() + dop.size() <= 4 * n || base.size() == n){
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
combo.cpp:120:61: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
120 | if (ask.size() + dop.size() <= 4 * n || base.size() == n){
| ~~~~~~~~~~~~^~~~
combo.cpp:124:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | if (otv == base.size())
| ~~~~^~~~~~~~~~~~~~
combo.cpp:126:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | if (otv == 1 + base.size())
| ~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:134:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
134 | if (press(ask) == base.size() + 1){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~