In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from combo.cpp:1:
combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:49:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
49 | assert(ans.size() <= query_ans && query_ans <= ans.size() + 2);
| ~~~~~~~~~~~^~~~~~~~~~~~
combo.cpp:49:53: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | assert(ans.size() <= query_ans && query_ans <= ans.size() + 2);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:50:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if (query_ans == ans.size() + 1) ans += buttons[x];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:51:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | else if (query_ans == ans.size() + 2) ans += buttons[y];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~