password.cpp: In function 'std::string solve(int, int)':
password.cpp:11:16: error: 'query' was not declared in this scope
11 | if(query(s)!=s.size())
| ^~~~~
password.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<=s1.size();i++)
| ~^~~~~~~~~~~
password.cpp:25:13: 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(j<s2.size())
| ~^~~~~~~~~~
password.cpp:28:16: error: 'query' was not declared in this scope
28 | if(query(tmp)==tmp.size())
| ^~~~~
password.cpp: In function 'std::string guess(int, int)':
password.cpp:39:18: error: 'l' was not declared in this scope
39 | return solve(l,r);
| ^
password.cpp:39:20: error: 'r' was not declared in this scope
39 | return solve(l,r);
| ^