백준 7569
package baekjoon.DFS와BFS; 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 Main7569 { static int M, N, H; static int[][][] map, isVisited; static Queue q = new LinkedList(); static int[] dz = {-1, 0, 0, 0, 0, 1}; static int[] dy = {0, -1, 0, 1, 0, 0}; st..
2022. 6. 22.