백준 15650 java
-
boj)15650 - N과 M (2)PS/boj 2020. 11. 16. 11:22
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 37 38 39 40 import java.io.*; import java.util.Scanner; public class boj_15650 { static Scanner sc = new Scanner(System.in); static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); static int[] numbers = new int[10]; static boolean[] visited = new boolean[10]; static int ..