/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:35:10: warning: unused variable 'temp' [-Wunused-variable]
  int dis,temp;
          ^~~~
/tmp/ccoIXlAV.o: In function `main':
foo.cc:(.text.startup+0xd): relocation truncated to fit: R_X86_64_PC32 against symbol `dist' defined in .bss section in /tmp/ccoIXlAV.o
foo.cc:(.text.startup+0x71): relocation truncated to fit: R_X86_64_PC32 against symbol `dist' defined in .bss section in /tmp/ccoIXlAV.o
foo.cc:(.text.startup+0x19e): relocation truncated to fit: R_X86_64_PC32 against symbol `dist' defined in .bss section in /tmp/ccoIXlAV.o
foo.cc:(.text.startup+0x1fb): relocation truncated to fit: R_X86_64_PC32 against symbol `dist' defined in .bss section in /tmp/ccoIXlAV.o
/tmp/ccoIXlAV.o: In function `_GLOBAL__sub_I_dist':
foo.cc:(.text.startup+0x333): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x351): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status

信息

递交者
类型
递交
题目
P1046 观光旅游
语言
C++
递交时间
2019-09-15 18:54:56
评测时间
2019-09-15 18:54:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes