F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39833379_2990\Main.java:29: 错误: 找不到符号
        root.left = buildTree(Arrays.copyOfRange(preorder, 1, inorderIndex + 1), Arrays.copyOfRange(inorder, 0, inorderIndex));
                              ^
  符号:   变量 Arrays
  位置: 类 Main
0_0_39833379_2990\Main.java:29: 错误: 找不到符号
        root.left = buildTree(Arrays.copyOfRange(preorder, 1, inorderIndex + 1), Arrays.copyOfRange(inorder, 0, inorderIndex));
                                                                                 ^
  符号:   变量 Arrays
  位置: 类 Main
0_0_39833379_2990\Main.java:30: 错误: 找不到符号
        root.right = buildTree(Arrays.copyOfRange(preorder, inorderIndex + 1, preorder.length), Arrays.copyOfRange(inorder, inorderIndex + 1, inorder.length));
                               ^
  符号:   变量 Arrays
  位置: 类 Main
0_0_39833379_2990\Main.java:30: 错误: 找不到符号
        root.right = buildTree(Arrays.copyOfRange(preorder, inorderIndex + 1, preorder.length), Arrays.copyOfRange(inorder, inorderIndex + 1, inorder.length));
                                                                                                ^
  符号:   变量 Arrays
  位置: 类 Main
0_0_39833379_2990\Main.java:56: 错误: 找不到符号
        BinaryTreeTraversal traversal = new BinaryTreeTraversal();
        ^
  符号:   类 BinaryTreeTraversal
  位置: 类 Main
0_0_39833379_2990\Main.java:56: 错误: 找不到符号
        BinaryTreeTraversal traversal = new BinaryTreeTraversal();
                                            ^
  符号:   类 BinaryTreeTraversal
  位置: 类 Main
6 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 23:29:27, Gzip enabled