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_27654672_13014\Main.java:18: 错误: 可能尚未初始化变量a
    a=a+money/100;
      ^
0_0_27654672_13014\Main.java:19: 错误: 可能尚未初始化变量b
    b=b+(money-money/100*100)/50;
      ^
0_0_27654672_13014\Main.java:20: 错误: 可能尚未初始化变量c
    c=c+(money-money/50*50)/10;
      ^
0_0_27654672_13014\Main.java:21: 错误: 可能尚未初始化变量d
    d=d+(money-money/10*10)/5;
      ^
0_0_27654672_13014\Main.java:22: 错误: 可能尚未初始化变量e
    e=e+(money-money/5*5)/2;
      ^
0_0_27654672_13014\Main.java:23: 错误: 可能尚未初始化变量f
    f=f+(money-money/2*2);
      ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量a
    }System.out.println(a+b+c+d+e+f);
                        ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量b
    }System.out.println(a+b+c+d+e+f);
                          ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量c
    }System.out.println(a+b+c+d+e+f);
                            ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量d
    }System.out.println(a+b+c+d+e+f);
                              ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量e
    }System.out.println(a+b+c+d+e+f);
                                ^
0_0_27654672_13014\Main.java:24: 错误: 可能尚未初始化变量f
    }System.out.println(a+b+c+d+e+f);
                                  ^
12 个错误


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-17 14:28:17, Gzip enabled