password.cpp: In function 'std::string guess(int, int)':
password.cpp:33:35: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
33 | for(int j = 0; ans.size() != n && j <= ans.size(); j++) {
| ~~~~~~~~~~~^~~~
password.cpp:33:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int j = 0; ans.size() != n && j <= ans.size(); j++) {
| ~~^~~~~~~~~~~~~
password.cpp:34:65: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if(query(ans.substr(0,j)+string(1,c)+ans.substr(j)) > ans.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~