Compile Error
foo.cc: In function ‘int main()’: foo.cc:10:9: error: ‘memset’ was not declared in this scope 10 | memset(a,0,sizeof(a)); | ^~~~~~ foo.cc:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? 1 | #include <iostream> +++ |+#include <cstring> 2 |
信息
- 递交者
- 类型
- 自测
- 题目
- P1021 Victoria的舞会1
- 语言
- C++
- 递交时间
- 2024-09-25 14:27:17
- 评测时间
- 2024-09-25 14:27:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes