/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:56:5: error: 'memset' was not declared in this scope
   56 |     memset(tree, -1, sizeof(tree));
      |     ^~~~~~
/in/foo.cc:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    5 | #include <cmath>
  +++ |+#include <cstring>
    6 | using namespace std;

信息

递交者
类型
自测
题目
P1523 贪吃的九头龙
语言
C++
递交时间
2025-04-24 16:31:20
评测时间
2025-04-24 16:31:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes