[SWEA][Python] 5108 숫자추가 연결리스트 섹션에 있지만.. 그냥 삽입. for test in range(1,int(input())+1): N, M, L = map(int, input().split()) arr = list(map(int, input().split())) for _ in range(M): idx, num = map(int, input().split()) arr.insert(idx,num) print(f'#{test} {arr[L]}') practivceAlgorithm/swexpertacademy 2021.08.24