QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#489232 | #9156. 百万富翁 | Inaba00 | Compile Error | / | / | C++14 | 2.1kb | 2024-07-24 19:04:26 | 2024-07-24 19:04:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::vector<int> ask(std::vector<int>, std::vector<int>)’: answer.code:9:49: warning: no return statement in function returning non-void [-Wreturn-type] 9 | vector<int> ask(vector<int> a, vector<int> b) { } | ^ answer.code: In function ‘int richest(int, int, int)’: answer.code:65:1: warning: control reaches end of non-void function [-Wreturn-type] 65 | } | ^ /usr/bin/ld: /tmp/ccxqkI0w.o: in function `ask(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)': answer.code:(.text.unlikely+0x50): multiple definition of `ask(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'; /tmp/ccXC5Rnz.o:implementer.cpp:(.text+0xfd0): first defined here collect2: error: ld returned 1 exit status