/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void Input()':
/in/foo.cc:71:7: warning: unused variable 's' [-Wunused-variable]
  char s[5];
       ^
/in/foo.cc: In function 'int findans(int)':
/in/foo.cc:94:9: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:94:9: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res;
         ^~~
/in/foo.cc:89:12: note: 'res' was declared here
  long long res;
            ^~~
/tmp/cczalkHf.o: In function `Add(int, int, int)':
foo.cc:(.text+0x3): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x14): relocation truncated to fit: R_X86_64_PC32 against symbol `edges' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x22): relocation truncated to fit: R_X86_64_PC32 against symbol `head' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x36): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/cczalkHf.o
/tmp/cczalkHf.o: In function `DFS(int, int, int, int)':
foo.cc:(.text+0x54): relocation truncated to fit: R_X86_64_PC32 against symbol `F' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x5b): relocation truncated to fit: R_X86_64_PC32 against symbol `id' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x65): relocation truncated to fit: R_X86_64_PC32 against symbol `curID' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x71): relocation truncated to fit: R_X86_64_PC32 against symbol `curID' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x7b): relocation truncated to fit: R_X86_64_PC32 against symbol `B' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x8e): relocation truncated to fit: R_X86_64_PC32 against symbol `pre' defined in .bss section in /tmp/cczalkHf.o
foo.cc:(.text+0x9c): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status

信息

递交者
类型
自测
题目
P1013 强墙
语言
C++
递交时间
2018-09-15 20:06:29
评测时间
2018-09-15 20:06:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes