/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:54:2: error: 'memset' was not declared in this scope
   54 |  memset(a, '.', sizeof(a)); memset(b, '.', sizeof(b));
      |  ^~~~~~
foo.cc:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1076 海战
语言
C++
递交时间
2022-02-23 21:30:43
评测时间
2022-02-23 21:30:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes