记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:18:5: error: ‘memset’ was not declared in this scope
   18 |     memset(b,0,sizeof(b));
      |     ^~~~~~
foo.cc:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    2 | #include <iostream>
  +++ |+#include <cstring>
    3 | using namespace std;

信息

递交者
类型
自测
题目
P1583 Problem 4C. 赌徒默示录
语言
C++
递交时间
2024-05-11 10:48:44
评测时间
2024-05-11 10:48:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes