password.cpp: In function 'std::string guess(int, int)':
password.cpp:13:32: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
13 | if (cur.size() < i) return "fuck";
| ~~~~~~~~~~~^~~
password.cpp:15:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | if (query(cur) == cur.size()) was = true; else cur.erase(cur.begin() + i);
| ~~~~~~~~~~~^~~~~~~~~~~~~
password.cpp:19:24: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | if (cur.size() <= i) return "fuck";
| ~~~~~~~~~~~^~~~