Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135626 叶航帅 22数列变换III Python3 Accepted 44 MS 3760 KB 202 2025-11-07 23:12:40

Tests(2/2):


Code:

n = int(input()) wdm = list(map(int, input().split())) k = int(input()) for i in range(k): x = int(input()) ngm = wdm.pop(x - 1) wdm.append(ngm) print(' '.join(map(str, wdm)))