https://www.acmicpc.net/problem/7576 문제 풀이 import java.io.*; import java.util.*; public class Main { static int[][] arr; static int[] dx = {0, 1, 0, -1}; static int[] dy = {1, 0, -1, 0}; static boolean[][] visited; static int n, m; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; st = new Str..