Compile Error

/tmp/ccZxHhKR.o: in function `main':
foo.cc:(.text.startup+0x5): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x27): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x35): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x4f): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x56): relocation truncated to fit: R_X86_64_PC32 against symbol `c' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x83): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x8f): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0xc4): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0xdb): relocation truncated to fit: R_X86_64_PC32 against symbol `c' defined in .bss section in /tmp/ccZxHhKR.o
foo.cc:(.text.startup+0x175): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccZxHhKR.o
/tmp/ccZxHhKR.o: in function `_GLOBAL__sub_I_n':
foo.cc:(.text.startup+0x194): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
题目
P3018 道具商店202512GESP6级T2
语言
C++
递交时间
2026-02-24 09:12:38
评测时间
2026-02-24 09:12:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes