[백준] - 1743번 음식물 피하기
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class bj_1743 { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static int[] dx = {0, 0, -1, 1}; static int[] dy = {1, -1, 0, 0}; static int n; static int m; static int k; static int cnt; static int[][] graph; public static void main(String[] args) throws I..