QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#871854 | #9678. 网友小 Z 的树 | yaohaoyou | Compile Error | / | / | C++14 | 4.8kb | 2025-01-25 22:25:17 | 2025-01-25 22:25:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:124:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | scanf("%d%d", &GRADER::subid, &T); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘void GRADER::solve()’: answer.code:64:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:68:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | scanf("%d%d", &x, &y); | ~~~~~^~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccv3EWgu.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccEH1aSh.o:implementer.cpp:(.text.startup+0x0): first defined here collect2: error: ld returned 1 exit status