Compile Error
foo.cc: In function 'int main()': foo.cc:103:2: error: 'memset' was not declared in this scope 103 | memset(dp, 0, sizeof(dp)); | ^~~~~~ foo.cc:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 4 | #include<vector> +++ |+#include <cstring> 5 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1150 关路灯
- 语言
- C++
- 递交时间
- 2021-12-19 17:21:54
- 评测时间
- 2021-12-19 17:21:54
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes