QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#288167#124. LibrarycnyzCompile Error//C++141.8kb2023-12-22 08:31:452023-12-22 08:31:47

詳細信息

/usr/bin/ld: /tmp/ccXgJKwr.o: in function `Query(std::vector<int, std::allocator<int> > const&)':
answer.code:(.text+0x0): multiple definition of `Query(std::vector<int, std::allocator<int> > const&)'; /tmp/ccTy6tfq.o:implementer.cpp:(.text+0x0): first defined here
/usr/bin/ld: /tmp/ccXgJKwr.o: in function `Answer(std::vector<int, std::allocator<int> > const&)':
answer.code:(.text+0x180): multiple definition of `Answer(std::vector<int, std::allocator<int> > const&)'; /tmp/ccTy6tfq.o:implementer.cpp:(.text+0x190): first defined here
/usr/bin/ld: /tmp/ccXgJKwr.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccTy6tfq.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccTy6tfq.o: in function `main':
implementer.cpp:(.text.startup+0x79): undefined reference to `Solve(int)'
/usr/bin/ld: /tmp/ccXgJKwr.o: in function `main':
answer.code:(.text.startup+0x79): undefined reference to `Solve(int)'
collect2: error: ld returned 1 exit status