password.cpp: In function 'std::string guess(int, int)':
password.cpp:22:6: warning: variable 'pref' set but not used [-Wunused-but-set-variable]
22 | int pref = 0;
| ^~~~
password.cpp:23:7: warning: variable 'check' set but not used [-Wunused-but-set-variable]
23 | bool check = false;
| ^~~~~
/usr/bin/ld: /tmp/ccudu163.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/cc5Tu0b4.o:password.cpp:(.text+0x80): first defined here
/usr/bin/ld: /tmp/ccudu163.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc5Tu0b4.o:password.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status