QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#446878#7944. Max Minus MinHuangHanShengCompile Error//C++11940b2024-06-17 17:14:172024-06-17 17:14:18

Details

answer.code: In function ‘bool check(int)’:
answer.code:28:9: error: ‘els’ was not declared in this scope
   28 |         els     for(int i=n;i>=1;i--)   if(a[i].x>maxx-x&&a[i].y>=l1&&a[i].y<=r1)  return 0;
      |         ^~~
answer.code:28:29: error: ‘i’ was not declared in this scope
   28 |         els     for(int i=n;i>=1;i--)   if(a[i].x>maxx-x&&a[i].y>=l1&&a[i].y<=r1)  return 0;
      |                             ^