QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#132211 | #2920. Ultimate Binary Watch | ZhaoZiLong | Compile Error | / | / | C++20 | 1002b | 2023-07-29 04:39:47 | 2023-07-29 04:39:48 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:11:26: error: ‘bitset’ was not declared in this scope 11 | string time_binary = bitset<16>(stoi(time)).to_string(); | ^~~~~~~~~~ answer.code:2:1: note: ‘std::bitset’ is defined in header ‘<bitset>’; did you forget to ‘#include <bitset>’? 1 | #include <iostream> +++ |+#include <bitset> 2 | #include <string>