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_33187066_28907\Main.java:1: 错误: 需要class, interface或enum
public static void main(String[] args) {
              ^
0_0_33187066_28907\Main.java:4: 错误: 需要class, interface或enum
		int t=input.nextInt();
		^
0_0_33187066_28907\Main.java:5: 错误: 需要class, interface或enum
		double box[][][]=new double[t][4][3];
		^
0_0_33187066_28907\Main.java:6: 错误: 需要class, interface或enum
		double point[][]=new double[t][3];
		^
0_0_33187066_28907\Main.java:7: 错误: 需要class, interface或enum
		for(int k=0;k<t;k++) {
		^
0_0_33187066_28907\Main.java:7: 错误: 需要class, interface或enum
		for(int k=0;k<t;k++) {
		            ^
0_0_33187066_28907\Main.java:7: 错误: 需要class, interface或enum
		for(int k=0;k<t;k++) {
		                ^
0_0_33187066_28907\Main.java:8: 错误: 需要class, interface或enum
			for(int i=0;i<4;i++) {
			            ^
0_0_33187066_28907\Main.java:8: 错误: 需要class, interface或enum
			for(int i=0;i<4;i++) {
			                ^
0_0_33187066_28907\Main.java:9: 错误: 需要class, interface或enum
				for(int j=0;j<3;j++) {
				            ^
0_0_33187066_28907\Main.java:9: 错误: 需要class, interface或enum
				for(int j=0;j<3;j++) {
				                ^
0_0_33187066_28907\Main.java:11: 错误: 需要class, interface或enum
				}
				^
0_0_33187066_28907\Main.java:13: 错误: 需要class, interface或enum
			for(int ii=0;ii<t;ii++) {
			             ^
0_0_33187066_28907\Main.java:13: 错误: 需要class, interface或enum
			for(int ii=0;ii<t;ii++) {
			                  ^
0_0_33187066_28907\Main.java:14: 错误: 需要class, interface或enum
				for(int jj=0;jj<3;jj++) {
				             ^
0_0_33187066_28907\Main.java:14: 错误: 需要class, interface或enum
				for(int jj=0;jj<3;jj++) {
				                  ^
0_0_33187066_28907\Main.java:16: 错误: 需要class, interface或enum
				}
				^
0_0_33187066_28907\Main.java:19: 错误: 需要class, interface或enum
		for(int i=0;i<t;i++) {
		            ^
0_0_33187066_28907\Main.java:19: 错误: 需要class, interface或enum
		for(int i=0;i<t;i++) {
		                ^
0_0_33187066_28907\Main.java:22: 错误: 需要class, interface或enum
			}
			^
0_0_33187066_28907\Main.java:24: 错误: 需要class, interface或enum
		}
		^
0_0_33187066_28907\Main.java:31: 错误: 需要class, interface或enum
	        double[][] ts = new double[4][4];  
	        ^
0_0_33187066_28907\Main.java:32: 错误: 需要class, interface或enum
	        for (int j = 0; j < ts.length; j++) {  
	        ^
0_0_33187066_28907\Main.java:32: 错误: 需要class, interface或enum
	        for (int j = 0; j < ts.length; j++) {  
	                        ^
0_0_33187066_28907\Main.java:32: 错误: 需要class, interface或enum
	        for (int j = 0; j < ts.length; j++) {  
	                                       ^
0_0_33187066_28907\Main.java:33: 错误: 需要class, interface或enum
	            for (int j2 = 0; j2 < ts.length - 1; j2++) {  
	                             ^
0_0_33187066_28907\Main.java:33: 错误: 需要class, interface或enum
	            for (int j2 = 0; j2 < ts.length - 1; j2++) {  
	                                                 ^
0_0_33187066_28907\Main.java:35: 错误: 需要class, interface或enum
	            }  
	            ^
0_0_33187066_28907\Main.java:37: 错误: 需要class, interface或enum
	        }  
	        ^
0_0_33187066_28907\Main.java:39: 错误: 需要class, interface或enum
	        for (int i = 0; i < ts.length; i++) {  
	                        ^
0_0_33187066_28907\Main.java:39: 错误: 需要class, interface或enum
	        for (int i = 0; i < ts.length; i++) {  
	                                       ^
0_0_33187066_28907\Main.java:44: 错误: 需要class, interface或enum
	            for (int j = 0; j < ts.length; j++) {  
	            ^
0_0_33187066_28907\Main.java:44: 错误: 需要class, interface或enum
	            for (int j = 0; j < ts.length; j++) {  
	                            ^
0_0_33187066_28907\Main.java:44: 错误: 需要class, interface或enum
	            for (int j = 0; j < ts.length; j++) {  
	                                           ^
0_0_33187066_28907\Main.java:46: 错误: 需要class, interface或enum
	            }  
	            ^
0_0_33187066_28907\Main.java:49: 错误: 需要class, interface或enum
	            ti[i][1] = point[1];  
	            ^
0_0_33187066_28907\Main.java:50: 错误: 需要class, interface或enum
	            ti[i][2] = point[2];  
	            ^
0_0_33187066_28907\Main.java:52: 错误: 需要class, interface或enum
	            if (GetLineTran(ts,4) * GetLineTran(ti,4) < 0) {  
	            ^
0_0_33187066_28907\Main.java:54: 错误: 需要class, interface或enum
	                break;  
	                ^
0_0_33187066_28907\Main.java:55: 错误: 需要class, interface或enum
	            } 
	            ^
0_0_33187066_28907\Main.java:58: 错误: 需要class, interface或enum
	    }  
	    ^
0_0_33187066_28907\Main.java:59: 错误: 需要class, interface或enum
	 public static double GetLineTran(double[][] p, int n) { //计算行列式的值
	               ^
0_0_33187066_28907\Main.java:62: 错误: 需要class, interface或enum
			double exChange = 1.0; // 记录行列式中交换的次数
			^
0_0_33187066_28907\Main.java:63: 错误: 需要class, interface或enum
			boolean isZero = false; // 标记行列式某一行的最右边一个元素是否为零
			^
0_0_33187066_28907\Main.java:65: 错误: 需要class, interface或enum
			for (int i = 0; i < n; i ++) {// i 表示行号
			^
0_0_33187066_28907\Main.java:65: 错误: 需要class, interface或enum
			for (int i = 0; i < n; i ++) {// i 表示行号
			                ^
0_0_33187066_28907\Main.java:65: 错误: 需要class, interface或enum
			for (int i = 0; i < n; i ++) {// i 表示行号
			                       ^
0_0_33187066_28907\Main.java:69: 错误: 需要class, interface或enum
					if (i != (n - 1)) { // 若第 i 行不是行列式的最后一行
					^
0_0_33187066_28907\Main.java:70: 错误: 需要class, interface或enum
						for (int j = 0; j < n; j ++) { // 以此交换第 i 行与第 n-1 行各元素
						                ^
0_0_33187066_28907\Main.java:70: 错误: 需要class, interface或enum
						for (int j = 0; j < n; j ++) { // 以此交换第 i 行与第 n-1 行各元素
						                       ^
0_0_33187066_28907\Main.java:72: 错误: 需要class, interface或enum
							p[i][j] = p[n - 1][j];
							^
0_0_33187066_28907\Main.java:73: 错误: 需要class, interface或enum
							p[n - 1][j] = temp;
							^
0_0_33187066_28907\Main.java:75: 错误: 需要class, interface或enum
							exChange *= -1.0;
							^
0_0_33187066_28907\Main.java:76: 错误: 需要class, interface或enum
						}
						^
0_0_33187066_28907\Main.java:80: 错误: 需要class, interface或enum
				}
				^
0_0_33187066_28907\Main.java:86: 错误: 需要class, interface或enum
			for (int i = 0; i < (n - 1); i ++) {
			^
0_0_33187066_28907\Main.java:86: 错误: 需要class, interface或enum
			for (int i = 0; i < (n - 1); i ++) {
			                ^
0_0_33187066_28907\Main.java:86: 错误: 需要class, interface或enum
			for (int i = 0; i < (n - 1); i ++) {
			                             ^
0_0_33187066_28907\Main.java:93: 错误: 需要class, interface或enum
					for (int j = 0; j < n; j ++) {
					^
0_0_33187066_28907\Main.java:93: 错误: 需要class, interface或enum
					for (int j = 0; j < n; j ++) {
					                ^
0_0_33187066_28907\Main.java:93: 错误: 需要class, interface或enum
					for (int j = 0; j < n; j ++) {
					                       ^
0_0_33187066_28907\Main.java:95: 错误: 需要class, interface或enum
					}
					^
0_0_33187066_28907\Main.java:100: 错误: 需要class, interface或enum
		}
		^
63 个错误


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-05 11:13:05, Gzip enabled