QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394718#7782. Ursa MinorLittle09Compile Error//C++174.9kb2024-04-20 18:23:462024-04-20 18:23:46

Details

answer.code: In function ‘bool query(int, int, int)’:
answer.code:168:56: error: invalid types ‘int[int]’ for array subscript
  168 |                         rep(j,i,i+g-1) add(sum,p[n-i]*g[j]%mod);
      |                                                        ^