728x90

2024/06/04 3

64 삐약 : 백준 6593| 상범 빌딩 [바킹독 문제 풀이|BFS|JAVA]

https://www.acmicpc.net/problem/6593 package BKD_0x9_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 BOJ_6593 { static int[] dz ={0,0,0,0,1,-1}; static int[] dy ={0,0,1,-1,0,0}; static int[] dx ={1,-1,0,0,0,0}; static int L; static int R; ..

728x90