QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#127970 | #149. Peru | qiuzx | Compile Error | / | / | C++14 | 2.2kb | 2023-07-20 13:24:19 | 2024-09-10 16:40:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
implementer.cpp: In function ‘char nextch()’: implementer.cpp:15:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 15 | if (pos == BUF_SIZE) fread(buf, BUF_SIZE, 1, fin), pos = 0; | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccOMF7tR.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccARY3EP.o:implementer.cpp:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/ccARY3EP.o: in function `main': implementer.cpp:(.text.startup+0x151): undefined reference to `solve(int, int, int*)' collect2: error: ld returned 1 exit status