QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#469226#6376. LaLa and LampGuanYunchangCompile Error//C++141.8kb2024-07-09 16:27:022024-07-09 16:27:03

详细

answer.code: In function ‘void solve()’:
answer.code:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   56 |                 scanf("%s",c+1);
      |                 ~~~~~^~~~~~~~~~
/tmp/ccxjPSaJ.o: in function `solve()':
answer.code:(.text+0x8b): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0x9e): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0xea): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0x1b4): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0x3df): relocation truncated to fit: R_X86_64_PC32 against symbol `num' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0x436): relocation truncated to fit: R_X86_64_PC32 against symbol `num' defined in .bss section in /tmp/ccxjPSaJ.o
answer.code:(.text+0x466): relocation truncated to fit: R_X86_64_PC32 against symbol `num' defined in .bss section in /tmp/ccxjPSaJ.o
collect2: error: ld returned 1 exit status