/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |   scanf("%d",&k);
      |   ~~~~~^~~~~~~~~
/tmp/ccr1kMYT.o: in function `main':
foo.cc:(.text.startup+0x68): relocation truncated to fit: R_X86_64_PC32 against symbol `store' defined in .bss section in /tmp/ccr1kMYT.o
/tmp/ccr1kMYT.o: in function `_GLOBAL__sub_I_store':
foo.cc:(.text.startup+0xcb): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0xe9): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2022-01-23 11:28:21
评测时间
2022-01-23 11:28:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes