숨바꼭질
-
[Algorithm] 백준 알고리즘 1697 (숨바꼭질)Algorithm 2020. 3. 28. 12:29
java 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; public class HideSeek { static int N,K; static boolean visited[]; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringToke..