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)提供评测服务