QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#723134#144. Primitive root / 原根ZhangYiDeCompile Error//C++173.4kb2024-11-07 21:15:172024-11-07 21:15:17

Details

answer.code: In function ‘ll eular(ll)’:
answer.code:36:21: error: ‘isprime’ was not declared in this scope; did you mean ‘prime’?
   36 |     if (n > MAXN && isprime(n)) return n - 1;
      |                     ^~~~~~~
      |                     prime