/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:35:35: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   FOR(i, a, b) block[i] |= 1 << p - 1;
                                 ~~^~~
/in/foo.cc:44:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    if(state & (1 << i - 1))
                     ~~^~~
/in/foo.cc:46:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
     pre_state = state ^ (1 << i - 1);
                               ~~^~~
/in/foo.cc:49:29: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if(pre_state & (1 << j - 1)) dis[i][state] = min(dis[i][state], dis[j][pre_state] + map[j][i]);
                           ~~^~~
/in/foo.cc:58:27: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   for(int state = (1 << m - 1) | 1; state < 1 << m; ++ state, ++ state)
                         ~~^~~
/in/foo.cc:64:27: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
   for(int state = (1 << m - 1) | 1; state < 1 << m; ++ state, ++ state)
                         ~~^~~
/tmp/ccf11VPp.o: In function `main':
foo.cc:(.text.startup+0x7): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x12): relocation truncated to fit: R_X86_64_PC32 against symbol `map' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x30): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x3c): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x5c): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0xce): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0xf5): relocation truncated to fit: R_X86_64_PC32 against symbol `block' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x19c): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x1d8): relocation truncated to fit: R_X86_64_PC32 against symbol `map' defined in .bss section in /tmp/ccf11VPp.o
foo.cc:(.text.startup+0x275): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
物流运输
语言
C++
递交时间
2020-11-26 15:08:01
评测时间
2020-11-26 15:08:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes