QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#440940#8049. Equal Sumsegypt_ioi2024_12Compile Error//C++203.6kb2024-06-14 05:22:542024-06-14 05:22:55

Details

answer.code: In function ‘int main()’:
answer.code:109:30: error: expected primary-expression before ‘]’ token
  109 |                         dp[i&][j][k+500]=((ps[R]-ps[L-(L?1:0)])%mod+mod)%mod;
      |                              ^
answer.code:113:31: error: expected primary-expression before ‘]’ token
  113 |                         dp[i&!][j][k+500]=((ps2[R]-ps2[L-(L?1:0)])%mod+mod)%mod;
      |                               ^