QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#428634#5981. Costly Binary SearchQBFCompile Error//C++20927b2024-06-01 20:44:392024-06-01 20:44:43

Details

answer.code: In function ‘void Work()’:
answer.code:19:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   19 |         scanf("%s",s+1),n=strlen(s+1);
      |         ~~~~~^~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   38 |         int T;scanf("%d",&T);
      |               ~~~~~^~~~~~~~~
/tmp/ccprXZBy.o: in function `Init()':
answer.code:(.text+0x15): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccprXZBy.o
/tmp/ccprXZBy.o: in function `Work()':
answer.code:(.text+0xe5): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccprXZBy.o
answer.code:(.text+0x124): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccprXZBy.o
answer.code:(.text+0x1df): relocation truncated to fit: R_X86_64_PC32 against symbol `a' defined in .bss section in /tmp/ccprXZBy.o
/tmp/ccprXZBy.o: in function `main':
answer.code:(.text.startup+0x78): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccprXZBy.o
collect2: error: ld returned 1 exit status