记录详情

Compile Error

foo.cc: In member function 'void SeqString::Index(SeqString&)':
foo.cc:33:13: error: 'strlen' was not declared in this scope
   33 |    if (j == strlen(ss.buff))
      |             ^~~~~~
foo.cc:4:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    3 | #include<cstdio>
  +++ |+#include <cstring>
    4 | using namespace std;
foo.cc: In function 'int main()':
foo.cc:47:2: error: 'gets_s' was not declared in this scope; did you mean 'gets'?
   47 |  gets_s(s1);
      |  ^~~~~~
      |  gets
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
语言
C++
递交时间
2022-01-03 17:26:24
评测时间
2022-01-03 17:26:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes