QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#537983 | #4565. Rarest Insects | egypt_ioi2024_02# | Compile Error | / | / | C++20 | 1.5kb | 2024-08-30 20:29:10 | 2024-08-30 20:29:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int min_cardinality(int)’: answer.code:59:22: error: conflicting declaration ‘bool ok’ 59 | bool ok = 0; | ^~ answer.code:31:22: note: previous declaration as ‘bool ok [(m + 1)]’ 31 | bool ok[m + 1]{}; | ^~ answer.code:61:28: error: invalid operands of types ‘bool [(m + 1)]’ and ‘bool’ to binary ‘operator|’ 61 | ok |= SZ(nxt[i]) > 0; | ~~~^~~~~~~~~~~~~~~~~ answer.code:61:28: note: in evaluation of ‘operator|=(bool [(m + 1)], bool)’