@@ -0,0 +1,779 @@
+import java.util.*;%0A%0Apublic class Main%7B%0A  %0A  static int v, e; //v = cantidad de nodos, e = cantidad de aristas%0A  static int MAX=1000; //Cantidad M%C3%A1xima de ARCOS%0A  static ArrayList%3CEdge%3E edges;%0A  %0A  public static void main( String %5B%5D args )%7B%0A    int v, e, origen, destino;%0A    Scanner sc = new Scanner( System.in );%0A    %0A    v = sc.nextInt();%0A    e = sc.nextInt();%0A    %0A    init();%0A    %0A    while( e %3E 0 )%7B%0A      origen = sc.nextInt();%0A      destino = sc.nextInt();%0A      %0A      edges.add( new Edge(origen, destino) );%0A      e--;%0A    %7D%0A  %7D%0A  %0A%09static void init()%7B%0A%09%09edges = new ArrayList%3CEdge%3E(); //Kruskal%0A%09%7D%0A  %0A%09 /* Arco Simple */%0A%09static class Edge%7B%0A%09%0A%09    public int src, dest;%0A%09    %0A%09    public Edge(int s, int d) %7B%0A%09        this.src = s;%0A%09        this.dest = d;%0A%09    %7D%0A%09%7D%0A%7D%0A

Create ListaArcos.java