QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#45543#4565. Rarest InsectsZhaoZiLongCompile Error//C++171.3kb2022-08-24 12:34:452022-08-24 12:34:45

详细

answer.code: In function ‘void make_set(int)’:
answer.code:19:9: error: ‘sizee’ was not declared in this scope; did you mean ‘size’?
   19 |         sizee[v]=1;
      |         ^~~~~
      |         size
answer.code: In function ‘void union_sets(int, int)’:
answer.code:32:13: error: ‘sizee’ was not declared in this scope; did you mean ‘size’?
   32 |         if (sizee[a] < sizee[b])
      |             ^~~~~
      |             size
answer.code:35:9: error: ‘sizee’ was not declared in this scope; did you mean ‘size’?
   35 |         sizee[a] += sizee[b];
      |         ^~~~~
      |         size
answer.code: In function ‘int min_cardinality(int)’:
answer.code:43:17: error: ‘move_inside’ was not declared in this scope
   43 |                 move_inside(i);
      |                 ^~~~~~~~~~~
answer.code:44:25: error: ‘press_button’ was not declared in this scope
   44 |                 int ans=press_button();
      |                         ^~~~~~~~~~~~
answer.code:49:36: error: ‘sizee’ was not declared in this scope; did you mean ‘size’?
   49 |                                 if(sizee[find_set(j)]==big){
      |                                    ^~~~~
      |                                    size
answer.code:51:41: error: ‘move_outside’ was not declared in this scope
   51 |                                         move_outside(j);
      |                                         ^~~~~~~~~~~~
answer.code:56:41: error: ‘move_outside’ was not declared in this scope
   56 |                                         move_outside(j);
      |                                         ^~~~~~~~~~~~
answer.code:69:30: error: ‘sizee’ was not declared in this scope; did you mean ‘size’?
   69 |                 ans=min(ans, sizee[find_set(i)]);
      |                              ^~~~~
      |                              size