백준 2206 java
-
boj)2206 - 벽 부수고 이동하기PS/boj 2020. 10. 24. 17:17
import java.io.*; import java.util.*; public class boj_2206 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static StringTokenizer st; static int N, M, nx, ny; static int[][] map; static boolean[][][] v; static int[] dx = {-1, 1, 0, 0}; static int[] dy = {0, 0, -1, 1}; static Queue q = new LinkedList(); public static void main(String[] args) throws IOException ..