QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#749751#8520. Xor PartitionsHuangHanShengCompile Error//C++20357b2024-11-15 09:57:272024-11-15 09:57:28

Details

answer.code: In function ‘int main()’:
answer.code:15:33: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
   15 |       (dp[i]+=dp[j]*(a[i]^a[j])%mod)%=mod;
      |                                 ^~~
      |                                 modf