记录详情

Compile Error

/in/Main.java:21: error: cannot find symbol
        a=s.nextFloat();
        ^
  symbol:   variable a
  location: class Main
/in/Main.java:22: error: cannot find symbol
        b=s.nextFloat();
        ^
  symbol:   variable b
  location: class Main
/in/Main.java:23: error: cannot find symbol
        c=s.nextFloat();
        ^
  symbol:   variable c
  location: class Main
/in/Main.java:25: error: cannot find symbol
        float p=(a+b+c)/2;
                 ^
  symbol:   variable a
  location: class Main
/in/Main.java:25: error: cannot find symbol
        float p=(a+b+c)/2;
                   ^
  symbol:   variable b
  location: class Main
/in/Main.java:25: error: cannot find symbol
        float p=(a+b+c)/2;
                     ^
  symbol:   variable c
  location: class Main
/in/Main.java:26: error: cannot find symbol
        double S=Math.pow(p*(p-a)*(p-b)*(p-c),(1/2));
                               ^
  symbol:   variable a
  location: class Main
/in/Main.java:26: error: cannot find symbol
        double S=Math.pow(p*(p-a)*(p-b)*(p-c),(1/2));
                                     ^
  symbol:   variable b
  location: class Main
/in/Main.java:26: error: cannot find symbol
        double S=Math.pow(p*(p-a)*(p-b)*(p-c),(1/2));
                                           ^
  symbol:   variable c
  location: class Main
/in/Main.java:27: error: cannot find symbol
        DecimalFormat df=new DecinalFormat("#.00");
                             ^
  symbol:   class DecinalFormat
  location: class Main
10 errors

信息

递交者
类型
递交
题目
三角形面积
语言
Java
递交时间
2024-06-16 07:14:21
评测时间
2024-06-16 07:14:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes