QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#189861 | #6381. LaLa and Harvesting | ucup-team864 | Compile Error | / | / | C++14 | 5.6kb | 2023-09-28 00:54:04 | 2023-09-28 00:54:04 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In constructor ‘cont::cont(cont&, cont&)’: answer.code:64:17: error: ‘assert’ was not declared in this scope 64 | assert(gd.size() <= 4); | ^~~~~~ answer.code:4:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 3 | #include <algorithm> +++ |+#include <cassert> 4 | answer.code: In function ‘int main()’: answer.code:181:17: error: ‘memset’ was not declared in this scope 181 | memset(blk, 0, sizeof blk); | ^~~~~~ answer.code:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 3 | #include <algorithm> +++ |+#include <cstring> 4 | answer.code:202:9: error: ‘memset’ was not declared in this scope 202 | memset(blk, 0, sizeof blk); | ^~~~~~ answer.code:202:9: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?