Compile Error

/tmp/ccfmjvcz.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/ccfmjvcz.o
foo.cc:(.text.startup+0x1f): relocation truncated to fit: R_X86_64_PC32 against symbol `x' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x27): relocation truncated to fit: R_X86_64_PC32 against symbol `y' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x42): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x50): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x65): relocation truncated to fit: R_X86_64_PC32 against symbol `s1' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x71): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x94): relocation truncated to fit: R_X86_64_PC32 against symbol `x' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0x9b): relocation truncated to fit: R_X86_64_PC32 against symbol `y' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0xb4): relocation truncated to fit: R_X86_64_PC32 against symbol `sum' defined in .bss section in /tmp/ccfmjvcz.o
foo.cc:(.text.startup+0xc0): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P3164 灯光 202606saccc四级T6
语言
C++
递交时间
2026-10-25 09:52:34
评测时间
2026-10-25 09:52:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes