QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95332#5474. Incredibly Cute Penguin ChicksHuangHanShengCompile Error//C++172.0kb2023-04-09 14:36:362023-04-09 14:36:39

Details

answer.code: In function ‘void solve()’:
answer.code:67:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   67 |         scanf("%s",s+1);
      |         ~~~~~^~~~~~~~~~
/tmp/ccjEE8lm.o: in function `push_down(int)':
answer.code:(.text+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x49): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
/tmp/ccjEE8lm.o: in function `build(int, int)':
answer.code:(.text+0x124): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x13b): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
/tmp/ccjEE8lm.o: in function `add(int, int, int)':
answer.code:(.text+0x190): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x1b0): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
/tmp/ccjEE8lm.o: in function `add_num(int, int, int, int)':
answer.code:(.text+0x31b): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x335): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x369): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x480): relocation truncated to fit: R_X86_64_PC32 against symbol `cnt' defined in .bss section in /tmp/ccjEE8lm.o
answer.code:(.text+0x49e): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status