#1826. C++-树-创建二叉树(如下,*代表为空结点,数据为字符),并进行中序遍历,并打印出来

    ID: 1826 Type: Default 1000ms 256MiB Tried: 15 Accepted: 7 Difficulty: 8 Uploaded By: Tags>CSP厦门信息学厦门创客大赛C++项目信息科技特长生二叉树

C++-树-创建二叉树(如下,*代表为空结点,数据为字符),并进行中序遍历,并打印出来

Background

Description

C++-树-创建二叉树(如下,*代表为空结点,数据为字符),并进行中序遍历,并打印出来

image

image

Format

Input

Output

Samples


中序遍历:*B*E*K*A*C*

Limitation

1s, 1024KiB for each test case.