/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:23:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |   scanf("%d%d",&r,&c);
      |   ~~~~~^~~~~~~~~~~~~~
foo.cc:26:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   26 |       scanf("%d",&m[i][j]);
      |       ~~~~~^~~~~~~~~~~~~~~
/tmp/ccHwPDWC.o: in function `Search(int, int) [clone .part.0]':
foo.cc:(.text+0x46): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccHwPDWC.o
foo.cc:(.text+0x11b): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccHwPDWC.o
/tmp/ccHwPDWC.o: in function `main':
foo.cc:(.text.startup+0x22): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccHwPDWC.o
/tmp/ccHwPDWC.o: in function `_GLOBAL__sub_I_m':
foo.cc:(.text.startup+0x14b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x169): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1012 清帝之惑之雍正
语言
C++
递交时间
2022-07-29 10:52:33
评测时间
2022-07-29 10:52:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes