password.cpp: In function 'std::string guess(int, int)':
password.cpp:8:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
8 | if (ans.size()<n) {
| ~~~~~~~~~~^~
password.cpp:10:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | if (query(ans)!=ans.size())ans.erase(ans.begin()+i,ans.begin()+i+1);
| ~~~~~~~~~~^~~~~~~~~~~~