백준알고리즘 1764번 듣보잡
백준알고리즘 https://www.acmicpc.net/problem/1764 import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int M = Integer.parseInt(scan.nextLine().trim()); Set nSet = new HashSet(); String[] mSet = new String[M]; Set result = new HashSet..