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_39784695_8116\Main.java:3: 错误: 找不到符号
    public static ArrayList<Integer>[] arr = new ArrayList[3]; // 创建一个长度为3的ArrayList数组,用于存储三个柱子的状态
                  ^
  符号:   类 ArrayList
  位置: 类 Main
0_0_39784695_8116\Main.java:3: 错误: 找不到符号
    public static ArrayList<Integer>[] arr = new ArrayList[3]; // 创建一个长度为3的ArrayList数组,用于存储三个柱子的状态
                                                 ^
  符号:   类 ArrayList
  位置: 类 Main
0_0_39784695_8116\Main.java:26: 错误: 找不到符号
                arr[i] = new ArrayList<Integer>(); // 初始化每个柱子的ArrayList
                             ^
  符号:   类 ArrayList
  位置: 类 Main
3 个错误


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-27 02:49:24, Gzip enabled