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)提供评测服务