QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#45507#4565. Rarest InsectsZhaoZiLongCompile Error//C++171.7kb2022-08-24 12:04:052022-08-24 12:04:41

Details

answer.code: In function ‘int min_cardinality(int)’:
answer.code:79:30: error: expected ‘)’ at end of input
   79 |                 move_inside(i
      |                            ~ ^
      |                              )
answer.code:79:30: error: expected ‘}’ at end of input
answer.code:78:34: note: to match this ‘{’
   78 |         for (int i=0; i<=N; i++) {
      |                                  ^
answer.code:79:30: error: expected ‘}’ at end of input
   79 |                 move_inside(i
      |                              ^
answer.code:76:29: note: to match this ‘{’
   76 | int min_cardinality (int N) {
      |                             ^
answer.code:79:30: warning: no return statement in function returning non-void [-Wreturn-type]
   79 |                 move_inside(i
      |                              ^