QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#602691 | #5148. Tree Distance | GuanYunchang | Compile Error | / | / | C++23 | 4.2kb | 2024-10-01 12:06:28 | 2024-10-01 12:06:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
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