password.cpp: In function 'std::string Merge(std::string, std::string)':
password.cpp:15:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | while (posa<a.size() && posb<b.size())
| ~~~~^~~~~~~~~
password.cpp:15:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | while (posa<a.size() && posb<b.size())
| ~~~~^~~~~~~~~
password.cpp:19:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for (int j=posb;j<b.size();j++)
| ~^~~~~~~~~
password.cpp:21:13: error: 'query' was not declared in this scope
21 | if (query(d)==(int)d.size())
| ^~~~~
password.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i=posa;i<a.size();i++)
| ~^~~~~~~~~
password.cpp:34:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for (int i=posb;i<b.size();i++)
| ~^~~~~~~~~
password.cpp: In function 'std::string guess(int, int)':
password.cpp:50:17: error: 'query' was not declared in this scope
50 | int len=query(ss);
| ^~~~~
password.cpp:63:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for (int i=2;i<cur.size();i++)
| ~^~~~~~~~~~~