The file contains:
1 2 50
1 3 60
1 4 70
2 3 80
2 4 40
3 4 60
Type: Posts; User: mingming8888
The file contains:
1 2 50
1 3 60
1 4 70
2 3 80
2 4 40
3 4 60
import java.io.*;
public class Prim {
public static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
....
public static tempEdge [] tedges;
....
...