[Baekjoon] 백준 16234 인구 이동 Java
·
🔻PS/Baekjoon
https://www.acmicpc.net/problem/16234 import java.util.*; import java.io.*;public class Main { static int N, L, R; static int[][] graph; static boolean[][] visited; static int[] dx = {0, 0, 1, -1}; static int[] dy = {1, -1, 0, 0}; static int day = 0; static boolean moved; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedRe..