QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#567078#7775. 【模板】矩阵快速幂gg_gongCompile Error//C++206.2kb2024-09-16 06:16:402024-09-16 06:16:41

Details

answer.code: In function ‘void solving::main()’:
answer.code:189:136: warning: narrowing conversion of ‘solving::optimalcyc[i].std::pair<__int128, __int128>::second’ from ‘__int128’ to ‘long long int’ [-Wnarrowing]
  189 |                                                 fract tmp={optimalcyc[i].first,-(__int128)(step+rec)*optimalcyc[i].first,optimalcyc[i].second};
      |                                                                                                                          ~~~~~~~~~~~~~~^~~~~~
answer.code:121:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  121 |                 scanf("%s",k+1);
      |                 ~~~~~^~~~~~~~~~
/tmp/ccN3LEDu.o: in function `solving::clear_all()':
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x15): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::m' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x1c): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::n' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x49): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::dp' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x122): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::u' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x13e): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::v' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x14f): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::w' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x163): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::kk' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x179): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::ki' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x1dc): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::n' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x1e7): relocation truncated to fit: R_X86_64_PC32 against symbol `solving::m' defined in .bss section in /tmp/ccN3LEDu.o
answer.code:(.text._ZN7solving9clear_allEv[_ZN7solving9clear_allEv]+0x211): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status