password.cpp: In function 'std::string guess(int, int)':
password.cpp:9:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int k=0;k<ans.size();k++){
| ~^~~~~~~~~~~
password.cpp:12:30: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
12 | if(ans.size()==n){
| ~~~~~~~~~~^~~
password.cpp:16:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(query(temp)==temp.size()){
| ~~~~~~~~~~~^~~~~~~~~~~~~
password.cpp:21:32: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | while(f&&ans.size()<n){
| ~~~~~~~~~~^~
password.cpp:25:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if(query(temp)==temp.size()){
| ~~~~~~~~~~~^~~~~~~~~~~~~