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