import java.util.Arrays; import java.util.Scanner; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author cteam056 */ public class Cable { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); double [][] c = new double[n][3]; for(int i=0;imax){ x=c[j][0]; y=c[j][1]; max = c[j][2]; } } double pX1; double pY1; double ca = y-x; double range = 2*max; System.out.println(range); } }