N과 M (1)
-
[백준] 15649 N과 M (1) #JAVAAlgorithm Solving/BAEKJOON 2021. 1. 10. 18:46
BAEKJOON [15649] N과 M (1) 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { static int n,m; static int[] arr; static boolean[] isused; static StringBuilder sb; public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Strin..