/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:26:13: error: 'memset' was not declared in this scope
   26 |             memset(tune, 0, sizeof(tune));
      |             ^~~~~~
foo.cc:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    2 | #include <algorithm>
  +++ |+#include <cstring>
    3 | 
foo.cc:32:13: error: 'memset' was not declared in this scope
   32 |             memset(tune, 0, sizeof(tune));
      |             ^~~~~~
foo.cc:32:13: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1236 上帝的爱好
语言
C++
递交时间
2023-12-19 17:11:13
评测时间
2023-12-19 17:11:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes