QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#599843#9242. An Easy Geometry Problemucup-team5021Compile Error//C++174.3kb2024-09-29 12:01:582024-09-29 12:01:59

Details

answer.code: In member function ‘void SGT::myadd(long long int, long long int, long long int, long long int, long long int)’:
answer.code:30:97: error: invalid types ‘long long int[long long int]’ for array subscript
   30 |         int w = (sp[k][r] + mod[k] - sp[k][l - 1]) % mod[k] * 1ll * ((v % mod[k] + mod[k]) % mid[k]) % mod[k];
      |                                                                                                 ^