Compile Error
foo.cc: In constructor 'BinTree::BinTree(const char*, const char*)': foo.cc:20:9: error: 'strlen' was not declared in this scope 20 | int n=strlen(pre); | ^~~~~~ foo.cc:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 1 | #include<iostream> +++ |+#include <cstring> 2 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- DS5-2 根据先序和中序序列创建二叉树
- 语言
- C++
- 递交时间
- 2021-12-22 18:18:52
- 评测时间
- 2021-12-22 18:18:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes