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_16563099_2499\Main.java:1: 错误: 需要class, interface或enum
public static final int N = 1002;
                    ^
0_0_16563099_2499\Main.java:2: 错误: 需要class, interface或enum
	public static final int MAX = 1000000;
	                    ^
0_0_16563099_2499\Main.java:4: 错误: 需要class, interface或enum
	public static void main(String[] args) {
	              ^
0_0_16563099_2499\Main.java:6: 错误: 需要class, interface或enum
		while (in.hasNext()) {
		^
0_0_16563099_2499\Main.java:8: 错误: 需要class, interface或enum
			int[] visit = new int[N];
			^
0_0_16563099_2499\Main.java:9: 错误: 需要class, interface或enum
			int start = 0;
			^
0_0_16563099_2499\Main.java:10: 错误: 需要class, interface或enum
			int end = 0;
			^
0_0_16563099_2499\Main.java:11: 错误: 需要class, interface或enum
			int time = 0;
			^
0_0_16563099_2499\Main.java:12: 错误: 需要class, interface或enum
			int n = 0;
			^
0_0_16563099_2499\Main.java:13: 错误: 需要class, interface或enum
			int min = MAX;
			^
0_0_16563099_2499\Main.java:14: 错误: 需要class, interface或enum
			int p = 0;
			^
0_0_16563099_2499\Main.java:15: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++) {
			^
0_0_16563099_2499\Main.java:15: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++) {
			                ^
0_0_16563099_2499\Main.java:15: 错误: 需要class, interface或enum
			for (int i = 0; i < N; i++) {
			                       ^
0_0_16563099_2499\Main.java:16: 错误: 需要class, interface或enum
				for (int j = 0; j < N; j++) {
				                ^
0_0_16563099_2499\Main.java:16: 错误: 需要class, interface或enum
				for (int j = 0; j < N; j++) {
				                       ^
0_0_16563099_2499\Main.java:18: 错误: 需要class, interface或enum
				}
				^
0_0_16563099_2499\Main.java:21: 错误: 需要class, interface或enum
			int S = in.nextInt();
			^
0_0_16563099_2499\Main.java:22: 错误: 需要class, interface或enum
			int D = in.nextInt();
			^
0_0_16563099_2499\Main.java:23: 错误: 需要class, interface或enum
			for (int i = 0; i < T; i++) {
			^
0_0_16563099_2499\Main.java:23: 错误: 需要class, interface或enum
			for (int i = 0; i < T; i++) {
			                ^
0_0_16563099_2499\Main.java:23: 错误: 需要class, interface或enum
			for (int i = 0; i < T; i++) {
			                       ^
0_0_16563099_2499\Main.java:25: 错误: 需要class, interface或enum
				end = in.nextInt();
				^
0_0_16563099_2499\Main.java:26: 错误: 需要class, interface或enum
				time = in.nextInt();
				^
0_0_16563099_2499\Main.java:27: 错误: 需要class, interface或enum
				if (table[start][end] > time)
				^
0_0_16563099_2499\Main.java:29: 错误: 需要class, interface或enum
				if (start > n)
				^
0_0_16563099_2499\Main.java:31: 错误: 需要class, interface或enum
				if (end > n)
				^
0_0_16563099_2499\Main.java:33: 错误: 需要class, interface或enum
			}
			^
0_0_16563099_2499\Main.java:35: 错误: 需要class, interface或enum
			for (int i = 0; i < S; i++)
			^
0_0_16563099_2499\Main.java:35: 错误: 需要class, interface或enum
			for (int i = 0; i < S; i++)
			                ^
0_0_16563099_2499\Main.java:35: 错误: 需要class, interface或enum
			for (int i = 0; i < S; i++)
			                       ^
0_0_16563099_2499\Main.java:37: 错误: 需要class, interface或enum
			for (int i = 0; i < D; i++)
			^
0_0_16563099_2499\Main.java:37: 错误: 需要class, interface或enum
			for (int i = 0; i < D; i++)
			                ^
0_0_16563099_2499\Main.java:37: 错误: 需要class, interface或enum
			for (int i = 0; i < D; i++)
			                       ^
0_0_16563099_2499\Main.java:39: 错误: 需要class, interface或enum
			for (int j = 1; j <= n; j++) {
			^
0_0_16563099_2499\Main.java:39: 错误: 需要class, interface或enum
			for (int j = 1; j <= n; j++) {
			                ^
0_0_16563099_2499\Main.java:39: 错误: 需要class, interface或enum
			for (int j = 1; j <= n; j++) {
			                        ^
0_0_16563099_2499\Main.java:41: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				^
0_0_16563099_2499\Main.java:41: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				                ^
0_0_16563099_2499\Main.java:41: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				                        ^
0_0_16563099_2499\Main.java:44: 错误: 需要class, interface或enum
						p = i;
						^
0_0_16563099_2499\Main.java:45: 错误: 需要class, interface或enum
					}
					^
0_0_16563099_2499\Main.java:49: 错误: 需要class, interface或enum
				if (visit[p] == 1)
				^
0_0_16563099_2499\Main.java:51: 错误: 需要class, interface或enum
				visit[p] = 1;
				^
0_0_16563099_2499\Main.java:52: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				^
0_0_16563099_2499\Main.java:52: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				                ^
0_0_16563099_2499\Main.java:52: 错误: 需要class, interface或enum
				for (int i = 1; i <= n; i++) {
				                        ^
0_0_16563099_2499\Main.java:55: 错误: 需要class, interface或enum
					}
					^
0_0_16563099_2499\Main.java:60: 错误: 需要class, interface或enum
		}
		^
49 个错误


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 22:13:49, Gzip enabled