combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:7:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
7 | while(ans.size()!=n){
| ~~~~~~~~~~^~~
combo.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 | if(press(ans+c)==ans.size()+1){
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/cckAT8xQ.o: in function `press(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
grader.cpp:(.text+0x0): multiple definition of `press(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'; /tmp/ccICsSrS.o:combo.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/cckAT8xQ.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccICsSrS.o:combo.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status