QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#198551 | #5118. Hotel | HuangHanSheng | Compile Error | / | / | C++14 | 514b | 2023-10-03 14:44:44 | 2023-10-03 14:44:44 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:14:17: error: ‘memset’ was not declared in this scope 14 | memset(st, 0, sizeof st); | ^~~~~~ answer.code:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 1 | #include<iostream> +++ |+#include <cstring> 2 | using namespace std;