记录详情

Compile Error

foo.cc: In function 'int main(int, const char**)':
foo.cc:55:13: error: 'strlen' was not declared in this scope
   55 |  int length=strlen(s);
      |             ^~~~~~
foo.cc:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    2 | #include <iostream>
  +++ |+#include <cstring>
    3 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1361 5A 括号序列
语言
C++
递交时间
2022-04-27 17:53:23
评测时间
2022-04-27 17:53:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes