记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:34: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   f[i][j]=max(f[i][j-1],f[i+(1<<j-1)][j-1]);
                                 ~^~
/tmp/ccApxdSQ.o: In function `main':
foo.cc:(.text.startup+0x18): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x36): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x45): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x55): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x79): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0xb6): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x19d): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x1a8): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x1dc): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccApxdSQ.o
foo.cc:(.text.startup+0x1e7): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccApxdSQ.o
/tmp/ccApxdSQ.o: In function `_GLOBAL__sub_I_n':
foo.cc:(.text.startup+0x2f3): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
天才的记忆
题目数据
下载
语言
C++
递交时间
2018-09-19 20:00:28
评测时间
2018-09-19 20:00:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes