큐
-
[백준] 18258 큐2 #JAVAAlgorithm Solving/BAEKJOON 2021. 1. 24. 14:18
BAEKJOON [18258] 큐2 코드 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.LinkedList; import java.util.Queue; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { Queue que = new LinkedList(); BufferedReader bf = new Buffer..