QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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>’?