记录详情

Compile Error

foo.cc: In member function 'void SeqString::Index(SeqString&)':
foo.cc:33:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   33 |    if (j == strlen(ss.buff))
      |        ~~^~~~~~~~~~~~~~~~~~
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)提供评测服务

信息

递交者
类型
自测
题目
DS3-1 字符串的模式匹配
语言
C++
递交时间
2022-01-03 17:38:53
评测时间
2022-01-03 17:38:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes