Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:10: error: 'strlen' was not declared in this scope
    7 |  int len=strlen(s);
      |          ^~~~~~
/in/foo.cc:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | #include<string>
  信息
- 递交者
- 类型
- 递交
- 题目
- P1011 逆反的01串
- 语言
- C++
- 递交时间
- 2025-03-16 21:38:33
- 评测时间
- 2025-03-16 21:38:33
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes