// revised version of ComputePerimeter where the points are input from a disk file import java.io.*; // needed for File and IOException import java.util.Scanner; public class ComputePerimeter2 { public static void main(String[] args) throws IOException { int[][] points = getInput(); int n = points.length; double sum = 0.0; for(int i=0;i