boj 1697 java
-
boj)1697 - 숨바꼭질PS/boj 2020. 10. 17. 23:43
import java.io.*; import java.util.*; public class boj_1697 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static boolean[] v = new boolean[100001]; static int[] dx = {-1, 1}; static Queue q = new LinkedList(); public static void main(String[] args) throws IOException { StringTokenizer st = new StringTokenizer(br.readLine()); int N = Integer.parseInt(st.nextTo..