정올큐 썸네일형 리스트형 1697 : 큐(queue) import java.util.Scanner; public class Main { static int queue[] = new int [101]; static int f; static int r; public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int i, j, n = 0; String arr; int number[] = new int [101]; n = scan.nextInt(); for (i = 0; i < n; i++) { arr = scan.next(); if (arr.charAt(0) == 'i') { int num = scan.nextIn.. 더보기 이전 1 다음