미로탐색
-
[백준] 2178 미로탐색 #JAVAAlgorithm Solving/BAEKJOON 2020. 12. 3. 23:05
BAEKJOON [2178] 미로탐색 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String nm = br.readLine(); int n = Integer.parseInt(nm.split(" ")[0]); int ..