1 solutions

  • 0
    @ 2025-11-5 17:35:01

    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

    Information

    ID
    18575
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By