记录详情

Compile Error

/in/foo.cc: In function 'bool check(int, int)':
/in/foo.cc:8:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(x>0&&x<n+1&&y>0&&y<n+1)
 ^~
/in/foo.cc:11:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  return false;
  ^~~~~~
/tmp/ccukJlHL.o: In function `check(int, int)':
foo.cc:(.text+0x8): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccukJlHL.o
/tmp/ccukJlHL.o: In function `hhh(int, int)':
foo.cc:(.text+0x36): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text+0x46): relocation truncated to fit: R_X86_64_PC32 against symbol `x' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text+0x4c): relocation truncated to fit: R_X86_64_PC32 against symbol `y' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text+0xb6): relocation truncated to fit: R_X86_64_PC32 against symbol `sum' defined in .bss section in /tmp/ccukJlHL.o
/tmp/ccukJlHL.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/ccukJlHL.o
foo.cc:(.text.startup+0x20): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text.startup+0x2e): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text.startup+0x35): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text.startup+0x40): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccukJlHL.o
foo.cc:(.text.startup+0x86): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1004 最大黑色区域(area,is,64MB)
题目数据
下载
语言
C++
递交时间
2021-11-21 16:15:23
评测时间
2021-11-21 16:58:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes