Compile Error

./Main.java:17: error: ';' expected
for(low=1;low
             ^
./Main.java:19: error: illegal start of expression
}
^
./Main.java:23: error: <identifier> expected
DoubleTo.low=(int) low;      DoubleTo.high=(int) high;
            ^
./Main.java:23: error: <identifier> expected
DoubleTo.low=(int) low;      DoubleTo.high=(int) high;
                                          ^
./Main.java:27: error: class, interface, enum, or record expected
private static void find(double high,double low){
               ^
./Main.java:30: error: class, interface, enum, or record expected
for(int i=0;i<=high;i++){
^
./Main.java:30: error: class, interface, enum, or record expected
for(int i=0;i<=high;i++){
            ^
./Main.java:30: error: class, interface, enum, or record expected
for(int i=0;i<=high;i++){
                    ^
./Main.java:34: error: class, interface, enum, or record expected
}
^
./Main.java:38: error: class, interface, enum, or record expected
DoubleTo.low=(int) low/big;     DoubleTo.high=(int)high/big;
                                ^
./Main.java:40: error: class, interface, enum, or record expected
}
^
./Main.java:42: error: class, interface, enum, or record expected
public static void main(String[]args){
              ^
./Main.java:45: error: class, interface, enum, or record expected
find(high,low);
^
./Main.java:47: error: class, interface, enum, or record expected
System.out.println(high+"/"+low);
^
./Main.java:49: error: class, interface, enum, or record expected
}
^
15 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1132 分数转换
语言
Java
递交时间
2022-02-11 14:30:15
评测时间
2022-02-11 14:30:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes