미로찾기
-
[Algorithm] 백준 알고리즘 2178 (미로찾기)카테고리 없음 2020. 3. 22. 00:01
java코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; public class FindMaze{ static int N, M; static int maze[][]; static boolean visited[][]; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(S..