QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#43694#4238. Zero SumZhaoZiLongCompile Error//C++20901b2022-08-09 22:32:102022-08-09 22:32:12

詳細信息

answer.code: In function ‘int main()’:
answer.code:21:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   21 |     scanf("%d%d", &n, &k);
      |     ~~~~~^~~~~~~~~~~~~~~~
answer.code:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   26 |             scanf("%d", &a[i][j]);
      |             ~~~~~^~~~~~~~~~~~~~~~
/tmp/ccvP5yrV.o: In function `main':
answer.code:(.text.startup+0x4): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0xb): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x4d): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x66): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0xb9): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0xe4): relocation truncated to fit: R_X86_64_PC32 against symbol `k' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0xf9): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x345): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x36a): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x3fd): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvP5yrV.o
answer.code:(.text.startup+0x418): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status