유기농배추
-
[백준] 1012 유기농배추 #JAVAAlgorithm Solving/BAEKJOON 2020. 12. 11. 23:44
BAEKJOON [1012] 유기농배추 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int m,n,k; int x,y; int round; int[] dx = {0,1,0,-1}; int[] dy = {1,0,-1,0..