
[백준] Silver 1. 봄버맨
·
Algorithm/백준
https://www.acmicpc.net/problem/16918 사용 알고리즘BFS구현풀이 static int r, n, c; static char [][] board; static int[] dx = {1, 0, -1, 0}; static int[] dy = {0, 1, 0, -1}; static Queue queue = new LinkedList(); public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new Strin..