0_0_39840700_13253\Main.java:1: 错误: 非法字符: '\uff1b'
import java.util.Scanner;
^
0_0_39840700_13253\Main.java:3: 错误: 非法字符: '\uff1b'
int data;
^
0_0_39840700_13253\Main.java:4: 错误: 非法字符: '\uff1b'
BTNode lchild;
^
0_0_39840700_13253\Main.java:5: 错误: 非法字符: '\uff1b'
BTNode rchild;
^
0_0_39840700_13253\Main.java:6: 错误: 非法字符: '\uff08'
BTNode(int val) {
^
0_0_39840700_13253\Main.java:6: 错误: 非法字符: '\uff09'
BTNode(int val) {
^
0_0_39840700_13253\Main.java:7: 错误: 非法字符: '\uff1b'
this.data = val;
^
0_0_39840700_13253\Main.java:8: 错误: 非法字符: '\uff1b'
this.lchild = null;
^
0_0_39840700_13253\Main.java:9: 错误: 非法字符: '\uff1b'
this.rchild = null;
^
0_0_39840700_13253\Main.java:13: 错误: 非法字符: '\uff08'
public static void main(String[] args) {
^
0_0_39840700_13253\Main.java:13: 错误: 非法字符: '\uff09'
public static void main(String[] args) {
^
0_0_39840700_13253\Main.java:14: 错误: 非法字符: '\uff08'
Scanner scanner = new Scanner(System.in);
^
0_0_39840700_13253\Main.java:14: 错误: 非法字符: '\uff09'
Scanner scanner = new Scanner(System.in);
^
0_0_39840700_13253\Main.java:14: 错误: 不是语句
Scanner scanner = new Scanner(System.in);
^
0_0_39840700_13253\Main.java:14: 错误: 非法字符: '\uff1b'
Scanner scanner = new Scanner(System.in);
^
0_0_39840700_13253\Main.java:15: 错误: 非法字符: '\uff08'
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 需要')'
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 非法的表达式开始
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 非法字符: '\uff08'
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 此处不允许使用变量声明
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 非法字符: '\uff09'
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:15: 错误: 非法字符: '\uff09'
while (scanner.hasNextInt()) {
^
0_0_39840700_13253\Main.java:16: 错误: 非法字符: '\uff08'
int n = scanner.nextInt();
^
0_0_39840700_13253\Main.java:16: 错误: 非法字符: '\uff09'
int n = scanner.nextInt();
^
0_0_39840700_13253\Main.java:16: 错误: 非法字符: '\uff1b'
int n = scanner.nextInt();
^
0_0_39840700_13253\Main.java:17: 错误: 非法字符: '\uff1b'
int[] pre = new int[n + 1];
^
0_0_39840700_13253\Main.java:18: 错误: 非法字符: '\uff1b'
int[] in = new int[n + 1];
^
0_0_39840700_13253\Main.java:19: 错误: 非法字符: '\uff08'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 需要';'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 非法字符: '\uff1b'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 需要')'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 非法的表达式开始
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 非法字符: '\uff1b'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 此处不允许使用变量声明
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:19: 错误: 非法字符: '\uff09'
for (int i = 1; i <= n; i++) {
^
0_0_39840700_13253\Main.java:20: 错误: 非法字符: '\uff08'
pre[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:20: 错误: 非法字符: '\uff09'
pre[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:20: 错误: 非法字符: '\uff1b'
pre[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:21: 错误: 非法字符: '\uff08'
in[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:21: 错误: 非法字符: '\uff09'
in[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:21: 错误: 非法字符: '\uff1b'
in[i] = scanner.nextInt();
^
0_0_39840700_13253\Main.java:23: 错误: 非法字符: '\uff08'
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 不是语句
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 不是语句
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 需要';'
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 不是语句
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 需要';'
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 非法字符: '\uff09'
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 不是语句
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:23: 错误: 非法字符: '\uff1b'
buildTree(pre, in, 1, n);
^
0_0_39840700_13253\Main.java:25: 错误: 非法字符: '\uff08'
scanner.close();
^
0_0_39840700_13253\Main.java:25: 错误: 不是语句
scanner.close();
^
0_0_39840700_13253\Main.java:25: 错误: 非法字符: '\uff09'
scanner.close();
^
0_0_39840700_13253\Main.java:25: 错误: 非法字符: '\uff1b'
scanner.close();
^
0_0_39840700_13253\Main.java:27: 错误: 非法字符: '\uff08'
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要<标识符>
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 非法的类型开始
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要<标识符>
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要';'
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 非法的类型开始
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要<标识符>
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要';'
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 非法的类型开始
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要<标识符>
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 需要';'
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:27: 错误: 非法字符: '\uff09'
public static void buildTree(int[] pre, int[] in, int start, int end) {
^
0_0_39840700_13253\Main.java:28: 错误: 非法的类型开始
if (start > end) {
^
0_0_39840700_13253\Main.java:28: 错误: 非法字符: '\uff08'
if (start > end) {
^
0_0_39840700_13253\Main.java:28: 错误: 需要<标识符>
if (start > end) {
^
0_0_39840700_13253\Main.java:28: 错误: 非法字符: '\uff09'
if (start > end) {
^
0_0_39840700_13253\Main.java:31: 错误: 非法字符: '\uff1b'
int root = pre[start];
^
0_0_39840700_13253\Main.java:32: 错误: 非法字符: '\uff1b'
int i = start;
^
0_0_39840700_13253\Main.java:33: 错误: 非法字符: '\uff08'
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:33: 错误: 需要<标识符>
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:33: 错误: 需要<标识符>
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:33: 错误: 需要']'
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:33: 错误: 需要';'
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:33: 错误: 非法字符: '\uff09'
while (i <= end && in[i] != root) {
^
0_0_39840700_13253\Main.java:36: 错误: 非法字符: '\uff08'
BTNode rootNode = new BTNode(root);
^
0_0_39840700_13253\Main.java:36: 错误: 非法字符: '\uff09'
BTNode rootNode = new BTNode(root);
|