QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#479841#8711. TilesMinaRagy06#Compile Error//C++201.1kb2024-07-15 21:09:162024-07-15 21:09:17

Details

answer.code: In function ‘int main()’:
answer.code:15:25: error: ‘mx’ was not declared in this scope; did you mean ‘m’?
   15 |                         mx = max(mx, v.back()[1] - v.back()[0]);
      |                         ^~
      |                         m
answer.code:22:30: error: ‘mx’ was not declared in this scope; did you mean ‘m’?
   22 |                 if (r - l == mx) {
      |                              ^~
      |                              m