QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#602691#5148. Tree DistanceGuanYunchangCompile Error//C++234.2kb2024-10-01 12:06:282024-10-01 12:06:30

详细

answer.code: In function ‘int main()’:
answer.code:95:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   95 |     scanf("%lld",&n);
      |     ~~~~~^~~~~~~~~~~
answer.code:98:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   98 |         scanf("%lld%lld%lld",&a,&b,&c);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:103:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  103 |     scanf("%lld",&q);
      |     ~~~~~^~~~~~~~~~~
answer.code:105:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  105 |         scanf("%lld%lld",&qry[i].first.first,&qry[i].first.second);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccuT3KCg.o: in function `__tcf_0':
answer.code:(.text+0x9): relocation truncated to fit: R_X86_64_PC32 against symbol `conn' defined in .bss section in /tmp/ccuT3KCg.o
/tmp/ccuT3KCg.o: in function `fsz(long long, long long)':
answer.code:(.text+0xe2d): relocation truncated to fit: R_X86_64_PC32 against symbol `conn' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xe3a): relocation truncated to fit: R_X86_64_PC32 against symbol `sz' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xe7a): relocation truncated to fit: R_X86_64_PC32 against symbol `sz' defined in .bss section in /tmp/ccuT3KCg.o
/tmp/ccuT3KCg.o: in function `fdst(long long, long long)':
answer.code:(.text+0xf5d): relocation truncated to fit: R_X86_64_PC32 against symbol `curr' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xf64): relocation truncated to fit: R_X86_64_PC32 against symbol `curr' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xf70): relocation truncated to fit: R_X86_64_PC32 against symbol `dst' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xf8f): relocation truncated to fit: R_X86_64_PC32 against symbol `curr' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0xf9b): relocation truncated to fit: R_X86_64_PC32 against symbol `conn' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0x1022): relocation truncated to fit: R_X86_64_PC32 against symbol `curr' defined in .bss section in /tmp/ccuT3KCg.o
answer.code:(.text+0x10ac): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status