password.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > mergevector(std::vector<std::__cxx11::basic_string<char> >)':
password.cpp:5:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i+= 2){
~~^~~~~~~~~~
password.cpp:6:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == v.size()-1){
~~^~~~~~~~~~~~~
password.cpp:15:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (curpos < s2.length()){
~~~~~~~^~~~~~~~~~~~~
password.cpp:17:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < newstring.length(); j++){
~~^~~~~~~~~~~~~~~~~~~~
password.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (insertionpos == newstring.length()) temp += s2[curpos];
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
password.cpp:22:17: error: 'query' was not declared in this scope
if (query(temp) == temp.size()){
^~~~~
password.cpp: In function 'std::__cxx11::string guess(int, int)':
password.cpp:44:17: error: 'query' was not declared in this scope
if (query(temp) == ans) break;
^~~~~