You are viewing a single comment's thread. Return to all comments →
Python 3 compact solution:
n=int(input()) arr=list(map(int,input().split())) list(map(lambda x:print(arr[x-1]),arr))
Seems like cookies are disabled on this browser, please enable them to open this website
Security Permutations
You are viewing a single comment's thread. Return to all comments →
Python 3 compact solution: