1 条题解

  • 0
    @ 2024-12-24 10:06:15

    Java :

    import java.util.Scanner;
    public class Main {
    	
    public static void main(String[] args) {
    		// TODO Auto-generated method stub
    Scanner input=new Scanner(System.in);
    double s=5.5;
    double a1=Math.round((s*s*3*1.732*10000)/2);
    double a=a1/10000;
    System.out.printf("The area of the hexagon is "+a);
    	}
    
    }
    
    
    • 1

    信息

    ID
    2523
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    递交数
    1
    已通过
    0
    上传者