QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#734266 | #5250. Combination Locks | ucup-team3932 | Compile Error | / | / | C++20 | 2.7kb | 2024-11-11 08:15:37 | 2024-11-11 08:15:38 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:78:21: error: ‘uint32_t’ does not name a type 78 | 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 | #include <array> answer.code:94:50: error: ‘uint32_t’ does not name a type 94 | if (can_use[state] && popcount(static_cast<uint32_t>(state)) % 2 == 1) { | ^~~~~~~~ answer.code:94:50: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?