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_17268579_11453\Main.java:2: 错误: 需要class, interface或enum
	static List<String> allSubset = new ArrayList<>();
	       ^
0_0_17268579_11453\Main.java:3: 错误: 需要class, interface或enum
	static String[] IQsCache = new String[5000];
	       ^
0_0_17268579_11453\Main.java:5: 错误: 需要class, interface或enum
	public static void main(String[] args) {
	              ^
0_0_17268579_11453\Main.java:9: 错误: 需要class, interface或enum
		Scanner scan = new Scanner(System.in);
		^
0_0_17268579_11453\Main.java:10: 错误: 需要class, interface或enum
		String read;
		^
0_0_17268579_11453\Main.java:11: 错误: 需要class, interface或enum
		String[] input;
		^
0_0_17268579_11453\Main.java:12: 错误: 需要class, interface或enum
		int[][] arr;
		^
0_0_17268579_11453\Main.java:13: 错误: 需要class, interface或enum
		while (true) {
		^
0_0_17268579_11453\Main.java:16: 错误: 需要class, interface或enum
			input = read.split(" ");
			^
0_0_17268579_11453\Main.java:17: 错误: 需要class, interface或enum
			a = Integer.parseInt(input[0]);
			^
0_0_17268579_11453\Main.java:18: 错误: 需要class, interface或enum
			b = Integer.parseInt(input[1]);
			^
0_0_17268579_11453\Main.java:19: 错误: 需要class, interface或enum
			arr = new int[a][3];
			^
0_0_17268579_11453\Main.java:20: 错误: 需要class, interface或enum
			for (int i = 0; i < a; i++) {
			^
0_0_17268579_11453\Main.java:20: 错误: 需要class, interface或enum
			for (int i = 0; i < a; i++) {
			                ^
0_0_17268579_11453\Main.java:20: 错误: 需要class, interface或enum
			for (int i = 0; i < a; i++) {
			                       ^
0_0_17268579_11453\Main.java:22: 错误: 需要class, interface或enum
				for (int j = 0; j < 3; j++) {
				^
0_0_17268579_11453\Main.java:22: 错误: 需要class, interface或enum
				for (int j = 0; j < 3; j++) {
				                ^
0_0_17268579_11453\Main.java:22: 错误: 需要class, interface或enum
				for (int j = 0; j < 3; j++) {
				                       ^
0_0_17268579_11453\Main.java:24: 错误: 需要class, interface或enum
				}
				^
0_0_17268579_11453\Main.java:35: 错误: 需要class, interface或enum
		}
		^
0_0_17268579_11453\Main.java:38: 错误: 需要class, interface或enum
	public static int deal(int ques, int IQ, int arr[][]) {
	              ^
0_0_17268579_11453\Main.java:42: 错误: 需要class, interface或enum
		return work(IQ, arr);
		^
0_0_17268579_11453\Main.java:43: 错误: 需要class, interface或enum
	}
	^
0_0_17268579_11453\Main.java:46: 错误: 需要class, interface或enum
	public static int work(int IQ, int arr[][]) {
	              ^
0_0_17268579_11453\Main.java:48: 错误: 需要class, interface或enum
		int codes = 0;
		^
0_0_17268579_11453\Main.java:49: 错误: 需要class, interface或enum
		int borings = 0;
		^
0_0_17268579_11453\Main.java:50: 错误: 需要class, interface或enum
		for (int i = 0; i < allSubset.size(); i++) {
		^
0_0_17268579_11453\Main.java:50: 错误: 需要class, interface或enum
		for (int i = 0; i < allSubset.size(); i++) {
		                ^
0_0_17268579_11453\Main.java:50: 错误: 需要class, interface或enum
		for (int i = 0; i < allSubset.size(); i++) {
		                                      ^
0_0_17268579_11453\Main.java:52: 错误: 需要class, interface或enum
			int iqTotal = 0;
			^
0_0_17268579_11453\Main.java:53: 错误: 需要class, interface或enum
			for (int j = 0; j < IQs.length; j++) {
			^
0_0_17268579_11453\Main.java:53: 错误: 需要class, interface或enum
			for (int j = 0; j < IQs.length; j++) {
			                ^
0_0_17268579_11453\Main.java:53: 错误: 需要class, interface或enum
			for (int j = 0; j < IQs.length; j++) {
			                                ^
0_0_17268579_11453\Main.java:55: 错误: 需要class, interface或enum
			}
			^
0_0_17268579_11453\Main.java:58: 错误: 需要class, interface或enum
				borings = 0;
				^
0_0_17268579_11453\Main.java:59: 错误: 需要class, interface或enum
				for (int j = 0; j < IQs.length; j++) {
				^
0_0_17268579_11453\Main.java:59: 错误: 需要class, interface或enum
				for (int j = 0; j < IQs.length; j++) {
				                ^
0_0_17268579_11453\Main.java:59: 错误: 需要class, interface或enum
				for (int j = 0; j < IQs.length; j++) {
				                                ^
0_0_17268579_11453\Main.java:61: 错误: 需要class, interface或enum
					borings += arr[Integer.parseInt(IQs[j])][2];
					^
0_0_17268579_11453\Main.java:62: 错误: 需要class, interface或enum
				}
				^
0_0_17268579_11453\Main.java:68: 错误: 需要class, interface或enum
			}
			^
0_0_17268579_11453\Main.java:71: 错误: 需要class, interface或enum
	}
	^
0_0_17268579_11453\Main.java:74: 错误: 需要class, interface或enum
	public static void func(int number) {
	              ^
0_0_17268579_11453\Main.java:76: 错误: 需要class, interface或enum
		for (int i = 0; i < number; i++) {
		^
0_0_17268579_11453\Main.java:76: 错误: 需要class, interface或enum
		for (int i = 0; i < number; i++) {
		                ^
0_0_17268579_11453\Main.java:76: 错误: 需要class, interface或enum
		for (int i = 0; i < number; i++) {
		                            ^
0_0_17268579_11453\Main.java:78: 错误: 需要class, interface或enum
			int size = allSubset.size();
			^
0_0_17268579_11453\Main.java:79: 错误: 需要class, interface或enum
			for (int j = 0; j < size; j++) {
			^
0_0_17268579_11453\Main.java:79: 错误: 需要class, interface或enum
			for (int j = 0; j < size; j++) {
			                ^
0_0_17268579_11453\Main.java:79: 错误: 需要class, interface或enum
			for (int j = 0; j < size; j++) {
			                          ^
0_0_17268579_11453\Main.java:81: 错误: 需要class, interface或enum
			}
			^
0_0_17268579_11453\Main.java:83: 错误: 需要class, interface或enum
		}
		^
52 个错误


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-12-02 22:15:34, Gzip enabled