Compile Error
foo.cc: In function 'int main()': foo.cc:8:2: error: 'memset' was not declared in this scope 8 | memset(a, true, sizeof(a)); | ^~~~~~ foo.cc:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 2 | #include<vector> +++ |+#include <cstring> 3 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2022-04-20 22:08:18
- 评测时间
- 2022-04-20 22:08:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes