내 풀이import java.util.*;import java.io.*;public class Main { public static void main (String[] args) throws IOException { int[][] tc1 = {{1, 3}, {2, 4}, {1,4}}; int[][] tc2 = {{1, 3, 5}, {1, 3, 6}, {2, 4}}; int[][] tc3 = {{1, 5}, {2, 4, 7}, {1, 5, 7}, {2, 5, 7}}; int[][] tc4 = {{1, 5, 8, 10}, {2, 4, 7}, {1, 5, 7, 9, 11}, {2, 5, 7, 10}, {3, 6, 8, 11}}; char[] ..