boj 15649
-
boj)15649 - N과 M (1)PS/boj 2020. 11. 16. 09:28
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 import java.util.Scanner; public class boj_15649 { static Scanner sc = new Scanner(System.in); static int n, m; static int[] arr = new int[10]; static boolean[] isUsed = new boolean[10]; public static void main(String[] args) { n = sc.nextInt(); m = sc.nextInt(); func(0); } static void func(int k) ..