Problem toxic
User Xiaoyang
Submission Time 2023-05-06 15:51:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccoZebSS.o: in function `query_sample(std::vector<int, std::allocator<int> >)':
toxic.cpp:(.text+0x140): multiple definition of `query_sample(std::vector<int, std::allocator<int> >)'; /tmp/cckmQ6qT.o:grader.cpp:(.text+0x40): first defined here
/usr/bin/ld: /tmp/ccoZebSS.o: in function `answer_type(int, char)':
toxic.cpp:(.text+0x220): multiple definition of `answer_type(int, char)'; /tmp/cckmQ6qT.o:grader.cpp:(.text+0x120): first defined here
/usr/bin/ld: /tmp/ccoZebSS.o: in function `main':
toxic.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cckmQ6qT.o:grader.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status