QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#631022#8049. Equal SumsZhaoZiLongCompile Error//C++141.3kb2024-10-11 21:26:562024-10-11 21:27:00

Details

answer.code: In function ‘void XM()’:
answer.code:25:147: error: expected ‘;’ before ‘)’ token
   25 |                         if(j!=m) f(q,-500,500) (f[i][j+1][q+500]+=g[max(0,min(q+r[1][j+1],500))+500]-g[max(0,min(q+l[1][j+1]-1,500))+500]+mod)%mod)%=mod;
      |                                                                                                                                                   ^
      |                                                                                                                                                   ;