문제 https://www.acmicpc.net/problem/1966 1966번: 프린터 큐 여러분도 알다시피 여러분의 프린터 기기는 여러분이 인쇄하고자 하는 문서를 인쇄 명령을 받은 ‘순서대로’, 즉 먼저 요청된 것을 먼저 인쇄한다. 여러 개의 문서가 쌓인다면 Queue 자료구조에 www.acmicpc.net 코드 import sys input = sys.stdin.readline t = int(input()) for _ in range(t): cnt = 0 n,m = map(int,input().split()) paper = list(map(int,input().split())) idx = [i for i in range(len(paper))] target = idx[m] while len(pape..