Compile Error
foo.cc: In function 'void firstTree(std::string, std::string)':
foo.cc:13:59: error: expected ';' before 'firstTree'
13 | firstTree(s1.substr(0,roots1),s2.substr(0,roots1))//递归左子树
| ^
| ;
14 | firstTree(s1.substr(roots1+1),s2.substr(roots1,len2-roots1-1))
| ~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:20:5: error: 'cim' was not declared in this scope
20 | cim>>s1>>s2;
| ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1132 求二叉树的先序序列
- 语言
- C++
- 递交时间
- 2022-03-21 22:52:25
- 评测时间
- 2022-03-21 22:52:25
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes