1 条题解

  • 0
    @ 2025-4-12 22:06:18

    Java :

    import java.util.Scanner;
    
    
    public class Main {
    
    	/**
    	 * @param args
    	 */
    	public static void main(String[] args) {
    		// TODO Auto-generated method stub
    		Scanner input = new Scanner(System.in);
    		double v = input.nextDouble();
    		double a = input.nextDouble();
    		double l=Math.round(v*v*1000/(2*a))/1000.0;
    		System.out.println("The minimum runway length for this airplane is "+l);
    	}
    
    }
    
    
    • 1

    信息

    ID
    2949
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者