/ Vijos /

记录详情

Compile Error

/in/foo.cc:10:23: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
 const int M=1e3,N=M<<1+10;
                      ~^~~
/tmp/ccpeJNPF.o: In function `main':
foo.cc:(.text.startup+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccpeJNPF.o
foo.cc:(.text.startup+0x54): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccpeJNPF.o
foo.cc:(.text.startup+0x6c): relocation truncated to fit: R_X86_64_PC32 against symbol `x' defined in .bss section in /tmp/ccpeJNPF.o
foo.cc:(.text.startup+0x7e): relocation truncated to fit: R_X86_64_PC32 against symbol `x' defined in .bss section in /tmp/ccpeJNPF.o
/tmp/ccpeJNPF.o: In function `_GLOBAL__sub_I_n':
foo.cc:(.text.startup+0x1c3): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x1e1): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1037 搭建双塔
语言
C++
递交时间
2024-10-28 11:51:44
评测时间
2024-10-28 11:51:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes