QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#873196 | #9688. 通信 | Milmon | Compile Error | / | / | C++17 | 5.9kb | 2025-01-26 10:22:01 | 2025-01-26 10:22:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:185:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 185 | freopen("result.txt","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccvfKx7T.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/cca4RI2H.o:implementer.cpp:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/cca4RI2H.o: in function `main': implementer.cpp:(.text.startup+0xcb): undefined reference to `init(int)' /usr/bin/ld: implementer.cpp:(.text.startup+0x319): undefined reference to `send(int, int, int, int, std::vector<int, std::allocator<int> > const&)' /usr/bin/ld: implementer.cpp:(.text.startup+0xb7a): undefined reference to `init(int)' /usr/bin/ld: implementer.cpp:(.text.startup+0xc0f): undefined reference to `send(int, int, int, int, std::vector<int, std::allocator<int> > const&)' collect2: error: ld returned 1 exit status