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_27727117_31457\Main.java:8: 错误: 不兼容的类型: 从float转换到int可能会有损失
				int prob_total = sc.nextFloat();
				                             ^
0_0_27727117_31457\Main.java:14: 错误: 不兼容的类型: 从float转换到int可能会有损失
					prob[j]=sc.nextFloat();
					                    ^
0_0_27727117_31457\Main.java:19: 错误: 已在方法 main(String[])中定义了变量 i
				for(int i=0;i<num;i++){
				        ^
3 个错误


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-10-05 08:40:42, Gzip enabled