messy.cpp: In function 'int main()':
messy.cpp:40:23: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if (answer.size() != n) {
| ~~~~~~~~~~~~~~^~~~
/usr/bin/ld: /tmp/ccli0jQX.o: in function `helper::read_int()':
grader.cpp:(.text+0x860): multiple definition of `helper::read_int()'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0x920): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `get_p(int)':
grader.cpp:(.text+0x8b0): multiple definition of `get_p(int)'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0x970): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x10): multiple definition of `helper::p'; /tmp/ccCXrQ6W.o:(.bss+0x10): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `wa()':
grader.cpp:(.text+0x8d0): multiple definition of `wa()'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0x990): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `check(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
grader.cpp:(.text+0x900): multiple definition of `check(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0x9c0): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x28): multiple definition of `helper::n'; /tmp/ccCXrQ6W.o:(.bss+0x28): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `check_element(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
grader.cpp:(.text+0x950): multiple definition of `check_element(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0xa10): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x0): multiple definition of `helper::r'; /tmp/ccCXrQ6W.o:(.bss+0x0): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x2c): multiple definition of `helper::compiled'; /tmp/ccCXrQ6W.o:(.bss+0x2c): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x40): multiple definition of `helper::set_[abi:cxx11]'; /tmp/ccCXrQ6W.o:(.bss+0x40): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccCXrQ6W.o:messy.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o:(.bss+0x4): multiple definition of `helper::w'; /tmp/ccCXrQ6W.o:(.bss+0x4): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `add_element(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
grader.cpp:(.text+0xad0): multiple definition of `add_element(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0xb90): first defined here
/usr/bin/ld: /tmp/ccli0jQX.o: in function `compile_set()':
grader.cpp:(.text+0xb30): multiple definition of `compile_set()'; /tmp/ccCXrQ6W.o:messy.cpp:(.text+0xbf0): first defined here
collect2: error: ld returned 1 exit status