Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85609 丁俊杰 序列变换 Python3 Accepted 39 MS 3764 KB 179 2024-07-18 22:48:53

Tests(10/10):


Code:

n=int(input()) a=list(map(int,input().split())) results=[] for x in range(n): index=a[x]-1 results.append(a[index]) for result in results: print(result,end=" ")