/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&v[i],&w[i]);
  ~~~~~^~~~~~~~~~~~~~~~~~~~
/tmp/ccHO89Uq.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/ccHO89Uq.o
foo.cc:(.text.startup+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x4b): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x5a): relocation truncated to fit: R_X86_64_PC32 against symbol `v' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x61): relocation truncated to fit: R_X86_64_PC32 against symbol `w' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x8a): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x9b): relocation truncated to fit: R_X86_64_PC32 against symbol `N' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0xb6): relocation truncated to fit: R_X86_64_PC32 against symbol `w' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0xbd): relocation truncated to fit: R_X86_64_PC32 against symbol `v' defined in .bss section in /tmp/ccHO89Uq.o
foo.cc:(.text.startup+0x19a): relocation truncated to fit: R_X86_64_PC32 against symbol `N' defined in .bss section in /tmp/ccHO89Uq.o
/tmp/ccHO89Uq.o: In function `_GLOBAL__sub_I_N':
foo.cc:(.text.startup+0x1b3): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1317 开心的金明
语言
C++
递交时间
2021-07-24 09:05:54
评测时间
2021-07-24 09:05:54
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes