messy.cpp: In function 'std::vector<int> restore_permutation(int, int, int)':
messy.cpp:95:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for(int x=0;x<YAY[i].size();x++){
| ~^~~~~~~~~~~~~~
messy.cpp:96:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for(int l=0;l<YAY[i].size();l++){
| ~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccVSFgPw.o: in function `helper::read_int()':
grader.cpp:(.text+0x860): multiple definition of `helper::read_int()'; /tmp/ccACOwVu.o:messy.cpp:(.text+0x450): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o: in function `get_p(int)':
grader.cpp:(.text+0x8b0): multiple definition of `get_p(int)'; /tmp/ccACOwVu.o:messy.cpp:(.text+0x4a0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x10): multiple definition of `helper::p'; /tmp/ccACOwVu.o:(.bss+0x1f0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o: in function `wa()':
grader.cpp:(.text+0x8d0): multiple definition of `wa()'; /tmp/ccACOwVu.o:messy.cpp:(.text+0x4c0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.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/ccACOwVu.o:messy.cpp:(.text+0x4f0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x28): multiple definition of `helper::n'; /tmp/ccACOwVu.o:(.bss+0x208): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.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/ccACOwVu.o:messy.cpp:(.text+0x540): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x0): multiple definition of `helper::r'; /tmp/ccACOwVu.o:(.bss+0x1e0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x2c): multiple definition of `helper::compiled'; /tmp/ccACOwVu.o:(.bss+0x20c): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x40): multiple definition of `helper::set_[abi:cxx11]'; /tmp/ccACOwVu.o:(.bss+0x220): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccACOwVu.o:messy.cpp:(.text.startup+0xc0): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o:(.bss+0x4): multiple definition of `helper::w'; /tmp/ccACOwVu.o:(.bss+0x1e4): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.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/ccACOwVu.o:messy.cpp:(.text+0x710): first defined here
/usr/bin/ld: /tmp/ccVSFgPw.o: in function `compile_set()':
grader.cpp:(.text+0xb30): multiple definition of `compile_set()'; /tmp/ccACOwVu.o:messy.cpp:(.text+0xcb0): first defined here
collect2: error: ld returned 1 exit status