password.cpp: In function 'std::string marge(std::string, std::string)':
password.cpp:9:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | while(l<a.length() || r<b.length())
| ~^~~~~~~~~~~
password.cpp:9:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | while(l<a.length() || r<b.length())
| ~^~~~~~~~~~~
password.cpp:11:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if(l==a.length())
| ~^~~~~~~~~~~~
password.cpp:17:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if(r==b.length())
| ~^~~~~~~~~~~~
password.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=l;i<a.length();i++)
| ~^~~~~~~~~~~
password.cpp:26:17: error: 'query' was not declared in this scope
26 | int ile=query(wypisz+b[r]+posiadam);
| ^~~~~
password.cpp:27:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(ile==wypisz.length()+1+posiadam.length())
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
password.cpp: In function 'std::string guess(int, int)':
password.cpp:48:17: error: 'query' was not declared in this scope
48 | int ile=query(pom);
| ^~~~~