POJ 1258 (Kruskal) Accepted 1020K/110MS