QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#67105 | #5099. 朝圣道 | OumaeKumiko | Compile Error | / | / | C++14 | 1.9kb | 2022-12-10 09:21:44 | 2022-12-10 09:21:53 |
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:90:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 90 | scanf("%d%d%lld",&num,&T,&p); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ answer.code:95:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 95 | scanf("%lld",&n); | ~~~~~^~~~~~~~~~~ /usr/bin/ld: /tmp/cccNjK7k.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/cco5tF6m.o:implementer.cpp:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/cco5tF6m.o: in function `main': implementer.cpp:(.text.startup+0x2b): undefined reference to `init(int, int)' /usr/bin/ld: implementer.cpp:(.text.startup+0x16c): undefined reference to `ask(long long)' collect2: error: ld returned 1 exit status