QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#468478#7523. Partially Free MealLittle_PenguinCompile Error//C++141.9kb2024-07-08 21:01:022024-07-08 21:01:03

Details

answer.code: In function ‘int main()’:
answer.code:54:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   54 |         scanf("%lld", &n);
      |         ~~~~~^~~~~~~~~~~~
answer.code:56:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   56 |                 scanf("%lld%lld", &a[i].a, &a[i].b);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccfp1HHp.o: in function `upd(long long&, long long, long long, long long, long long, long long)':
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x33): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x48): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0xd8): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0xf5): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x1e3): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x201): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x33b): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x358): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x383): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x3a1): relocation truncated to fit: R_X86_64_PC32 against symbol `idx' defined in .bss section in /tmp/ccfp1HHp.o
answer.code:(.text._Z3updRxxxxxx[_Z3updRxxxxxx]+0x3e5): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status