password.cpp: In function 'std::string merge(std::string, std::string)':
password.cpp:10:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | while(p1 <= a.size() && p2 < b.size()){
| ~~~^~~~~~~~~~~
password.cpp:10:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | while(p1 <= a.size() && p2 < b.size()){
| ~~~^~~~~~~~~~
password.cpp:13:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(query(q) == q.size()){
| ~~~~~~~~~^~~~~~~~~~~
password.cpp: In function 'std::string guess(int, int)':
password.cpp:38:22: 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]
38 | for(int i = 1; i < v.size(); i++){
| ~~^~~~~~~~~~
/usr/bin/ld: /tmp/cca2K02d.o: in function `query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
grader.cpp:(.text+0x80): multiple definition of `query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'; /tmp/cc37H2Db.o:password.cpp:(.text+0x240): first defined here
/usr/bin/ld: /tmp/cca2K02d.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc37H2Db.o:password.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status