| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84450 | 胡海峰老师 | 序列变换II | Python3 | Wrong Answer | 31 MS | 3764 KB | 173 | 2024-07-16 09:24:34 |
"""Examples input 6 3 6 2 1 5 4 output 6 1 4 2 5 3 """ n = int(input()) a = list(map(int,input().split())) b = [] for ele in a: b.append( a[ele-1]) print(*b)
------Input------
41 29 15 24 21 3 14 13 9 30 35 18 16 16 37 17 3 25 15 21 10 38 26 14 39 20 2 37 34 10 9 17 35 40 26 22 19 5 5 30 13 13
------Answer-----
35 25 30 5 39 5 3 9 30 26 17 24 24 3 20 39 10 25 5 22 3 15 5 9 35 17 3 2 22 9 20 26 16 15 2 38 24 24 30 3 3
------Your output-----
10 17 39 38 24 37 16 30 9 22 15 3 3 5 25 24 20 17 38 35 5 2 37 30 10 15 5 26 35 30 25 22 13 2 26 21 3 3 9 16 16