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_32317575_22951\Main.java:11: 错误: 已在方法 main(String[])中定义了变量 n
				int n[] = new int[n];
				    ^
0_0_32317575_22951\Main.java:13: 错误: 需要数组, 但找到int
					n[j] = sc.nextInt();
					 ^
0_0_32317575_22951\Main.java:15: 错误: 不兼容的类型: int无法转换为int[]
				sort(n);
				     ^
0_0_32317575_22951\Main.java:18: 错误: 需要数组, 但找到int
						System.out.print(n[j] + " ");
						                  ^
0_0_32317575_22951\Main.java:20: 错误: 需要数组, 但找到int
						System.out.println(n[j]);
						                    ^
注: 某些消息已经过简化; 请使用 -Xdiags:verbose 重新编译以获得完整输出
5 个错误


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-25 07:16:53, Gzip enabled