QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#500833 | #9156. 百万富翁 | zzzcr | Compile Error | / | / | C++14 | 583b | 2024-08-01 21:25:08 | 2024-08-01 21:25:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int richest(int, int, int)’: answer.code:14:17: error: ‘memset’ was not declared in this scope 14 | memset(cnt, 0, sizeof cnt); | ^~~~~~ answer.code:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 1 | #include "richest.h" +++ |+#include <cstring> 2 | using namespace std; answer.code:19:1: warning: control reaches end of non-void function [-Wreturn-type] 19 | } | ^