QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#43694 | #4238. Zero Sum | ZhaoZiLong | Compile Error | / | / | C++20 | 901b | 2022-08-09 22:32:10 | 2022-08-09 22:32:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
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