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_35658995_27888\Main.java:14: 错误: 已在方法 main(String[])中定义了变量 i
			for(int i=1;i<=k;i++){
			        ^
0_0_35658995_27888\Main.java:15: 错误: 不兼容的类型: boolean无法转换为int
				int a = sc.hasNext();
				                  ^
0_0_35658995_27888\Main.java:16: 错误: 不兼容的类型: boolean无法转换为int
				int b = sc.hasNext();
				                  ^
0_0_35658995_27888\Main.java:17: 错误: 已在方法 main(String[])中定义了变量 j
				for(int j=n;j>=a;j--){
				        ^
0_0_35658995_27888\Main.java:18: 错误: 已在方法 main(String[])中定义了变量 c
					for(int c=1;c<=b;c++){
					        ^
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-07-03 14:42:04, Gzip enabled