QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#734265#5250. Combination Locksucup-team3932Compile Error//C++202.8kb2024-11-11 08:15:062024-11-11 08:15:06

詳細信息

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>’?