Compile Error

/tmp/ccG5woUG.o: in function `main':
foo.cc:(.text.startup+0x5): relocation truncated to fit: R_X86_64_PC32 against symbol `n1' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x1c): relocation truncated to fit: R_X86_64_PC32 against symbol `one' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x33): relocation truncated to fit: R_X86_64_PC32 against symbol `n2' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x47): relocation truncated to fit: R_X86_64_PC32 against symbol `n3' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x56): relocation truncated to fit: R_X86_64_PC32 against symbol `n1' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x7c): relocation truncated to fit: R_X86_64_PC32 against symbol `n1' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x85): relocation truncated to fit: R_X86_64_PC32 against symbol `n2' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0x97): relocation truncated to fit: R_X86_64_PC32 against symbol `two' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0xbd): relocation truncated to fit: R_X86_64_PC32 against symbol `n2' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0xc6): relocation truncated to fit: R_X86_64_PC32 against symbol `n3' defined in .bss section in /tmp/ccG5woUG.o
foo.cc:(.text.startup+0xfc): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P3088 学生会提名 pta202211T2
语言
C++
递交时间
2026-09-17 20:36:02
评测时间
2026-09-17 20:36:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes