QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#181588#5251. Constellationsucup-team1426#Compile Error//C++205.2kb2023-09-16 21:05:582023-09-16 21:05:59

Details

answer.code: In lambda function:
answer.code:153:47: error: expected ‘{’ before ‘[’ token
  153 |             if (inv_ind[j] < inv_ind[k] && [j][k].top >= 0) mins.erase({a[j][k], inv_ind[j], inv_ind[k]});
      |                                               ^
answer.code: In function ‘void solve()’:
answer.code:153:47: error: no match for ‘operator[]’ (operand types are ‘solve()::<lambda()>’ and ‘int’)