[JAVA] 백준, 7576번 토마토
https://www.acmicpc.net/problem/7576 코드import java.io.*;import java.util.*;public class Main { static int n, m; static int[][] arr; static boolean[][] visited; static Queue que; static int[] dx = {1, -1, 0, 0}; static int[] dy = {0, 0, 1, -1}; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(Syste..
Algorithm/백준 - Java
2024. 5. 27. 18:04