[JAVA] SWEA 7699 수지의 수지 맞는 여행 [BFS]
전체 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class SWEA_7699_수지의수지맞는여행 { static int R, C, T, MAX; static boolean[] v; static int[] dy = { 1, -1, 0, 0 }; // 상,하,우,좌 static int[] dx = { 0, 0, 1, -1 }; public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamR..
2020. 8. 17.