Compile Error
foo.cc: In function ‘int main()’: foo.cc:9:5: error: ‘memset’ was not declared in this scope 9 | memset(f, 0, sizeof(f)); | ^~~~~~ foo.cc:1: note: ‘memset’ is defined in header ‘<cstring>’; this is probably fixable by adding ‘#include <cstring>’ 1 | #include<iostream>
信息
- 递交者
- 类型
- 递交
- 题目
- P1312 能量项链
- 语言
- C++
- 递交时间
- 2025-04-04 17:13:22
- 评测时间
- 2025-04-04 17:13:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes