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:99:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
99 | while(base.size() != n){
| ~~~~~~~~~~~~^~~~
combo.cpp:106:37: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
106 | if (ask.size() + dop.size() <= 4 * n || base.size() == n){
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
combo.cpp:106:61: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
106 | if (ask.size() + dop.size() <= 4 * n || base.size() == n){
| ~~~~~~~~~~~~^~~~
combo.cpp:110:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | if (otv == base.size())
| ~~~~^~~~~~~~~~~~~~
combo.cpp:112:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | if (otv == 1 + base.size())
| ~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:120:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | if (press(ask) == base.size() + 1){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:83:16: warning: unused variable 'kol' [-Wunused-variable]
83 | int n = N, kol = 0;
| ^~~