QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#67105#5099. 朝圣道OumaeKumikoCompile Error//C++141.9kb2022-12-10 09:21:442022-12-10 09:21:53

详细

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