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