Compile Error
foo.cc: In constructor 'BinTree::BinTree(const char*, const char*)':
foo.cc:21:11: error: 'strlen' was not declared in this scope
21 | int n = strlen(pre);
| ^~~~~~
foo.cc:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include<queue>
+++ |+#include <cstring>
3 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2021-12-25 19:24:22
- 评测时间
- 2021-12-25 19:24:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes