QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#773545 | #5147. Stack Sort | GuanYunchang | Compile Error | / | / | C++11 | 391b | 2024-11-23 09:19:15 | 2024-11-23 09:19:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:12:17: error: ‘memset’ was not declared in this scope 12 | memset(a, 0, sizeof(a)); | ^~~~~~ answer.code:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 2 | #include<iostream> +++ |+#include <cstring> 3 | #include<string>