백준 7569 토마토2
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static int nx []= {1,-1,0,0,0,0}; public static int ny []= {0,0,-1,1,0,0}; public static int nz []= {0,0,0,0,-1,1}; public static void main(String[] args) { Scanner sc=new Scanner(System.in); int m=sc.nextInt(); int n=sc.nextInt(); int h=sc.nextInt(); int[][][] arr = new int[m][n][h]; ..
2021. 8. 24.