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_35884362_9918\Main.java:6: 错误: 类HuffmanTree是公共的, 应在名为 HuffmanTree.java 的文件中声明
public class HuffmanTree {
       ^
0_0_35884362_9918\Main.java:8: 错误: 找不到符号
    private TriElement[] huftree;
            ^
  符号:   类 TriElement
  位置: 类 HuffmanTree
0_0_35884362_9918\Main.java:16: 错误: 找不到符号
        this.huftree=new TriElement[2*n-1];
                         ^
  符号:   类 TriElement
  位置: 类 HuffmanTree
0_0_35884362_9918\Main.java:19: 错误: 找不到符号
            this.huftree[i]=new TriElement(weights[i]);
                                ^
  符号:   类 TriElement
  位置: 类 HuffmanTree
0_0_35884362_9918\Main.java:38: 错误: 找不到符号
            this.huftree[i]=new TriElement(min1+min2,-1,x1,x2);
                                ^
  符号:   类 TriElement
  位置: 类 HuffmanTree
5 个错误


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-16 21:22:48, Gzip enabled