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_6067505_13232\Main.java:34: <identifier> expected
	private static List<balloon> balloons;
	                   ^
0_0_6067505_13232\Main.java:34: <identifier> expected
	private static List<balloon> balloons;
	                      ^
0_0_6067505_13232\Main.java:34: <identifier> expected
	private static List<balloon> balloons;
	                              ^
0_0_6067505_13232\Main.java:34: <identifier> expected
	private static List<balloon> balloons;
	                                 ^
0_0_6067505_13232\Main.java:34: <identifier> expected
	private static List<balloon> balloons;
	                                           ^
0_0_6067505_13232\Main.java:38: <identifier> expected
	public static List<balloon> getBalloons(int n) {
	                  ^
0_0_6067505_13232\Main.java:38: <identifier> expected
	public static List<balloon> getBalloons(int n) {
	                     ^
0_0_6067505_13232\Main.java:38: <identifier> expected
	public static List<balloon> getBalloons(int n) {
	                             ^
0_0_6067505_13232\Main.java:38: <identifier> expected
	public static List<balloon> getBalloons(int n) {
	                                ^
0_0_6067505_13232\Main.java:38: invalid method declaration; return type required
	public static List<balloon> getBalloons(int n) {
	                                  ^
0_0_6067505_13232\Main.java:39: '(' or '[' expected
		balloons = new ArrayList<balloon>();
		                        ^
0_0_6067505_13232\Main.java:39: not a statement
		balloons = new ArrayList<balloon>();
		                                   ^
0_0_6067505_13232\Main.java:39: illegal start of expression
		balloons = new ArrayList<balloon>();
		                                        ^
0_0_6067505_13232\Main.java:39: not a statement
		balloons = new ArrayList<balloon>();
		                                       ^
0_0_6067505_13232\Main.java:42: not a statement
		for (int i = 0; i < n; i++) {
		                       ^
0_0_6067505_13232\Main.java:42: ')' expected
		for (int i = 0; i < n; i++) {
		                        ^
0_0_6067505_13232\Main.java:42: ';' expected
		for (int i = 0; i < n; i++) {
		                             ^
0_0_6067505_13232\Main.java:45: ')' expected
			for (; j < balloons.size(); j++) {
			                             ^
0_0_6067505_13232\Main.java:45: ';' expected
			for (; j < balloons.size(); j++) {
			                                  ^
0_0_6067505_13232\Main.java:61: ')' expected
		for (int max = 0, i = 0; i < balloons.size(); i++) {
		                                               ^
0_0_6067505_13232\Main.java:61: ';' expected
		for (int max = 0, i = 0; i < balloons.size(); i++) {
		                                                    ^
0_0_6067505_13232\Main.java:62: ')' expected
			if (balloons.get(i).getNum() > max) {
			                                ^
0_0_6067505_13232\Main.java:62: not a statement
			if (balloons.get(i).getNum() > max) {
			                                  ^
0_0_6067505_13232\Main.java:62: ';' expected
			if (balloons.get(i).getNum() > max) {
			                                     ^
24 errors


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-30 03:31:11, Gzip enabled