password.cpp: In function 'std::string solve(int, int, int)':
password.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while (a_ptr < a.size() && b_ptr < b.size()) {
| ~~~~~~^~~~~~~~~~
password.cpp:19:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | while (a_ptr < a.size() && b_ptr < b.size()) {
| ~~~~~~^~~~~~~~~~
password.cpp:21:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if (query(to_guess) > known.size()) known += a[a_ptr++];
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
password.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | while (a_ptr < a.size()) known += a[a_ptr++];
| ~~~~~~^~~~~~~~~~
password.cpp:25:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | while (b_ptr < b.size()) known += b[b_ptr++];
| ~~~~~~^~~~~~~~~~