password.cpp: In function 'std::string guess(int, int)':
password.cpp:17:16: error: 'query' was not declared in this scope
17 | tab[i]=query(t);
| ^~~~~
password.cpp:37:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 0; i <= res.size(); ++i)
| ~~^~~~~~~~~~~~~
password.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if (i==res.size()) continue;
| ~^~~~~~~~~~~~
password.cpp:43:21: error: 'query' was not declared in this scope
43 | if (query(cur)>(int)res.size()){
| ^~~~~