백준[JAVA] 2164.카드2 - 자바


백준[JAVA] 2164.카드2 - 자바

문제 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; public class Main { static Queue q; static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { int N = Integer.parseInt(br.readLine()); q = new LinkedList(); ca..


원문링크 : 백준[JAVA] 2164.카드2 - 자바