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 个错误
|