记录详情

Compile Error

foo.cc:9:1: error: expected initializer before 'void'
    9 | void CreatBiTree(BiTree& T)
      | ^~~~
foo.cc:25:23: error: variable or field 'PreOrderTraverse' declared void
   25 | void PreOrderTraverse(BiTree T)
      |                       ^~~~~~
foo.cc:25:23: error: 'BiTree' was not declared in this scope
foo.cc: In function 'int main()':
foo.cc:36:5: error: 'BiTree' was not declared in this scope
   36 |     BiTree T;
      |     ^~~~~~
foo.cc:37:17: error: 'T' was not declared in this scope
   37 |     CreatBiTree(T);
      |                 ^
foo.cc:37:5: error: 'CreatBiTree' was not declared in this scope
   37 |     CreatBiTree(T);
      |     ^~~~~~~~~~~
foo.cc:39:5: error: 'PreOrderTraverse' was not declared in this scope
   39 |     PreOrderTraverse(T);
      |     ^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
DS7-2 先序遍历二叉排序树
语言
C++
递交时间
2021-12-26 17:25:55
评测时间
2021-12-26 17:25:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes