문제https://www.acmicpc.net/problem/1189풀이(22분)import java.io.*;import java.util.*;public class Main { static int r, c, k, answer; static char[][] map; static boolean[][] visited; static int[][] direction = { {1,0}, {-1,0}, {0,-1}, {0,1} }; // 4방향 탐색 public static void main(String[] args) throws IOException { BufferedReader br = ..