Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79467 胡海峰老师 18插队喝水 Python3 Accepted 41 MS 3752 KB 115 2024-07-06 18:15:00

Tests(10/10):


Code:

n = int(input()) a = input().split() x = int(input()) last = a.pop() a.insert(x-1,last) print(" ".join(a))