QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#734265 | #5250. Combination Locks | ucup-team3932 | Compile Error | / | / | C++20 | 2.8kb | 2024-11-11 08:15:06 | 2024-11-11 08:15:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void solve()’: answer.code:77:21: error: ‘uint32_t’ does not name a type 77 | if (static_cast<uint32_t>(i) % 2 == 1) { | ^~~~~~~~ answer.code:7:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 6 | #include <algorithm> +++ |+#include <cstdint> 7 | answer.code:93:50: error: ‘uint32_t’ does not name a type 93 | if (can_use[state] && popcount(static_cast<uint32_t>(state)) % 2 == 1) { | ^~~~~~~~ answer.code:93:50: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?