QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#45692#4565. Rarest InsectsZhangYiDeCompile Error//C++171.0kb2022-08-24 14:26:272022-08-24 14:29:36

Details

answer.code: In function ‘int min_cardinality(int)’:
answer.code:19:9: error: ‘move_inside’ was not declared in this scope
   19 |         move_inside(i);
      |         ^~~~~~~~~~~
answer.code:24:25: error: ‘press_button’ was not declared in this scope
   24 |             int press = press_button();
      |                         ^~~~~~~~~~~~
answer.code:29:13: error: ‘move_outside’ was not declared in this scope
   29 |             move_outside(j);
      |             ^~~~~~~~~~~~
answer.code:31:9: error: ‘move_outside’ was not declared in this scope
   31 |         move_outside(i);
      |         ^~~~~~~~~~~~
answer.code: In function ‘void move_inside(int)’:
answer.code:45:26: error: ‘T’ was not declared in this scope
   45 |     if(a[0] == -1)a[0] = T[i];
      |                          ^
answer.code:46:17: error: ‘T’ was not declared in this scope
   46 |     else a[1] = T[i];
      |                 ^
answer.code: In function ‘void move_outside(int)’:
answer.code:50:16: error: ‘T’ was not declared in this scope
   50 |     if(a[1] == T[i])a[1] = -1;
      |                ^