QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#45637#4565. Rarest InsectsZhangYiDeCompile Error//C++145.5kb2022-08-24 13:48:402022-08-24 13:48:41

详细

implementer.cpp:8:8: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’
    8 | static inline constexpr int kMaxQueries = 40000;
      |        ^~~~~~
answer.code: In function ‘int min_cardinality(int)’:
answer.code:156:17: error: ‘move_inside’ was not declared in this scope
  156 |                 move_inside(i);
      |                 ^~~~~~~~~~~
answer.code:157:23: error: ‘press_button’ was not declared in this scope
  157 |                 res = press_button();
      |                       ^~~~~~~~~~~~
answer.code:159:25: error: ‘move_outside’ was not declared in this scope
  159 |                         move_outside(i);
      |                         ^~~~~~~~~~~~
answer.code:166:21: error: ‘move_outside’ was not declared in this scope
  166 |         for(int i:v)move_outside(i);
      |                     ^~~~~~~~~~~~
answer.code:173:25: error: ‘move_inside’ was not declared in this scope
  173 |                         move_inside(i);
      |                         ^~~~~~~~~~~
answer.code:174:34: error: ‘press_button’ was not declared in this scope
  174 |                         val[i] = press_button();
      |                                  ^~~~~~~~~~~~
answer.code:176:33: error: ‘move_outside’ was not declared in this scope
  176 |                                 move_outside(i);
      |                                 ^~~~~~~~~~~~
answer.code:186:37: error: ‘move_outside’ was not declared in this scope
  186 |                 For(i,0,n)if(ada[i])move_outside(i), ada[i] = 0;
      |                                     ^~~~~~~~~~~~