코드public class 백준1181_단어정렬 { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int t = Integer.parseInt(reader.readLine()); TreeSet dictionary = new TreeSet(); for (int i = 0 ; i { private String word; public Word(String word) { this.word = word;..