QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#660159#9486. Random Mexucup-team3648#Compile Error//C++205.4kb2024-10-20 07:48:082024-10-20 07:48:08

Details

answer.code: In lambda function:
answer.code:205:60: error: ‘fact’ was not declared in this scope
  205 |         Mint ans = Mint(m + 1).qpow(n) - Mint(m).qpow(n) - fact[m + 1] * S[n][m + 1];
      |                                                            ^~~~