TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
# sys.stdin.readline()
import itertools
import numpy as np
import sys
n = int(input())
A= np.array(list(map(int,input().split())))
B = A.argsort()+1


print(B)


# sys.stdin.readline()
import itertools
import numpy as np
import sys
n = int(input())
A= np.array(list(map(int,input().split())))
B = A.argsort()+1

C=' '.join(map(str,list(B)))
print(C)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
kye =[]
for i in range(1,n+1):
    kye.append(i)
kye_moji = list(map(str,kye))
d = dict(zip(kye_moji, a))
sorted_d = dict(sorted(d.items(), key = lambda x:x[1]))
l = list(sorted_d.keys())
for i in range(len(l)):
    print(l[i])

n = int(input())
a = list(map(int, input().split()))
kye =[]
for i in range(1,n+1):
    kye.append(i)
kye_moji = list(map(str,kye))
d = dict(zip(kye_moji, a))
sorted_d = dict(sorted(d.items(), key = lambda x:x[1]))
l = list(sorted_d.keys())
print(l)

n = int(input())
a = list(map(int, input().split()))
kye =[]
for i in range(1,n+1):
    kye.append(i)
kye_moji = list(map(str,kye))
d = dict(zip(kye_moji, a)) 
sorted_d = dict(sorted(d.items(), key = lambda x:x[1]))
print(sorted_d.keys())

n = int(input())
a = list(map(int, input().split()))
li1, li2 = sorted(a), sorted(range(len(a)), key=lambda k: a[k])
li22 = list(map(lambda x: x+1, li2))
print(*li22)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np
N = int(input())
A = [int(x) for x in input().split()]
ls = []
A = np.array(A)
for i in range(N):
    j = A.argmin()
    ls.append(j+1)
    A[j] = 100
    print(A)
print(*ls)

import numpy as np
N = int(input())
A = [int(x) for x in input().split()]
ls = []
A = np.array(A)
for i in range(N):
    j = A.argmin()
    ls.append(j+1)
    A[j] = 100000
    print(A)
print(*ls)

from operator import itemgetter
import numpy as np
N = int(input())
A = [int(x) for x in input().split()]
ls = []
for i in enumerate(A,1):
    ls.append(i)
ls.sort(key=itemgetter(1))
ls = np.array(ls)
print(*ls[:,0])

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = [int(i) for i in input().split()]
Num = [int(i) for i in range(1,N+1)]

List = []
for i in range(len(A)):
    List.append([A[i],i+1])
print(List)

List.sort()
ans = []
for i in range(len(List)):
    ans.append(List[i][1])
print(*ans)


N = int(input())
A = [int(i) for i in input().split()]
Num = [int(i) for i in range(1,N+1)]

List = []
for i in range(len(A)):
    List.append([A[i],i+1])


List.sort()
ans = []
for i in range(len(List)):
    ans.append(List[i][1])
print(*ans)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

output = list(range(0,N))

for i in range(N):
    output[A[i] - 1] = i + 1

print(output)

N = int(input())
A = list(map(int, input().split()))

output = list(range(0,N))

for i in range(N):
    output[A[i] - 1] = i + 1

print(*output)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
A = list(map(int, input().split()))

L = [0]*n
for i in range(n):
    L[i] = A.index(A[i])+1

M = map(str, L)
print(' '.join(M))


n = int(input())
A = list(map(int, input().split()))

L = [0]*n
for i in range(n):
    L[A[i]-1] = i+1
print(*L)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):

N = int(input())
A = list(map(int, input().split()))
B = [0] * N

for i in range(N):
    print(A[i])
    B[A[i]-1] = i+1
#    index = A.index(i+1)
 #   B[i] = index+1
print(' '.join(map(str, B)))




N = int(input())
A = list(map(int, input().split()))
B = [0] * N

for i in range(N):
    index = A.index(i+1)
    B[i] = index+1
print(B)



N = int(input())
A = list(map(int, input().split()))
B = [0] * N

for i in range(N):
#    print(A[i])
    B[A[i]-1] = i+1
#    index = A.index(i+1)
 #   B[i] = index+1
print(' '.join(map(str, B)))


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())

A = list(map(int,input().split()))

B = [0]*N

for i in A:
    B[i-1] = A.index(i)+1

for i in B:
    print(i,end=" ")

N = int(input())

A = list(map(int,input().split()))

for i in range(N):
    print(A.index(i+1)+1,end=" ")

N = int(input())
A = list(map(int,input().split()))

B = [0]*N

for i in range(N):
    B[A[i]-1] = i+1

print(*B)

Verdicts: Time Limit Exceeded

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
alist = [0]*n

for i in range(1, n+1):
    alist[a[i]-1] =str(i+1)

print(" ".join(alist))

n = int(input())
a = list(map(int, input().split()))
alist = []

for i in range(1, n+1):
    alist.append(a.index(i)+1)

print(alist)

n = int(input())
a = list(map(int, input().split()))
alist = [0]*n

for i in range(n):
    alist[a[i]-1] = str(i+1)

print(" ".join(alist))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = tuple(map(int,input().split()))
for i in range(1,N+1):
  print(A.index(i)+1,end=" ")

N = int(input())
A = list(map(int,input().split()))
B = [[i+1,A[i]] for i in range(N)]
B.sort(key=lambda x: x[1])
for j in range(N):
  if j == N-1:
    print(B[j][0])
  else:
    print(B[j][0] ,end=" ")
  

Verdicts: Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
# -*- coding: utf-8 -*-

N = int(input())

A = list(map(int, input().split()))

for x in range(1, N + 1):
    print(A.index(x) + 1, end=' ')
    A.remove(x)


# -*- coding: utf-8 -*-

N = int(input())

A = list(map(int, input().split()))

for x in range(1, N + 1):
    print(A.index(x) + 1, end=' ')


# -*- coding: utf-8 -*-

N = int(input())

A = map(int, input().split())

B = [0 for _ in range(N)]
i = 1

for x in A:
    B[x - 1] = i
    i += 1

print(' '.join(map(str, B)))


Verdicts: Wrong Answer

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np
n = int(input())
A = list(map(int, input().split()))

A = np.array(A)

x = np.argsort(A) + 1

print(x)

import numpy as np
n = int(input())
A = list(map(int, input().split()))

A = np.array(A)

x = np.argsort(A) + 1
x = list(x)
x = list(map(str,x))

print(' '.join(x))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))
B = [0]*(N)
for i in range(N):
    B[A[i]] = A[i]
print(B)

N = int(input())
A = list(map(int,input().split()))

B = [0]*N
for i in range(N):
    B[A[i]-1] = i+1
print(B)

N = int(input())
A = list(map(int,input().split()))

B = [0]*N
for i in range(N):
    B[A[i]-1] = i+1

print(' '.join(map(str,B)))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())

data  = input().split()

for m in range(n):
    data[m] = int(data[m])

res = []

for i in range(1,n+1):
    for m in range(len(data)):
        if i == data[m]:
            res.append(m+1)

print(res)

n = int(input())

data  = input().split()

for m in range(n):
    data[m] = int(data[m])

res = []

for i in range(1,n+1):
    for m in range(len(data)):
        if i == data[m]:
            res.append(m+1)

print(res)

n = int(input())

data  = list(map(int, input().split()))

res = [0]*n

rest = ""

for i in range(0,n):
    res[(n-data[i])*-1-1] = i+1

res = map(str, res)

print(' '.join(res))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))
Answer = []

for i in range(N):
    Answer.append(0)

for i in range(N):
    Answer[A[i]-1] = i + 1

print(Answer)


N = int(input())
A = list(map(int, input().split()))
Answer = []

for i in range(N):
    Answer.append(0)

for i in range(N):
    Answer[A[i]-1] = i + 1

print(Answer)


N = int(input())
A = list(map(int, input().split()))
Answer = []

for i in range(N):
    Answer.append(0)

for i in range(N):
    Answer[A[i]-1] = i + 1

print(*Answer)


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))
ans = [0] * N
for i, a in enumerate(A):
  ans[a-1] = i+1
print(' '.join(ans))

N = int(input())
A = list(map(int,input().split()))
B = []
for i in range(N):
  if min(A) == A[i]:
    B.append(str(i+1))
    A[i] = 10000
print(''.join(B))

N = int(input())
A = list(map(int,input().split()))
B = []
for i in range(N):
  if min(A) == A[i]:
    B.append(str(i+1))
    A[i] = 10000
print(''.join(B))

N = int(input())
A = list(map(int,input().split()))
ans = [0] * N
for i, a in enumerate(A):
  ans[a-1] = i+1
print(*ans)

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
*l, = map(int,input().split())
ans = [0]*n
for i in range(n):
  ans[l[i]-1] = l[i]
print(' '.join(ans))

n = int(input())
*l, = map(int,input().split())
ans = [0]*n
for i in range(n):
  ans[l[i]-1] = i+1
print(' '.join(map(str,ans)))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
S = list(map(int, input().split()))
indexed_S = sorted([i,s for i,s in enumerate(S)], key = lambda x: x[1])
print(" ".join([iS[0] for iS in indexed_S])

N = int(input())
S = list(map(int, input().split()))
indexed_S = sorted([[i,s] for i,s in enumerate(S)], key = lambda x: x[1])
print(" ".join([str(iS[0]+1) for iS in indexed_S]))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))

cnt = [0] * n
for i in range(n):
    x = a[i]
    cnt[x-1] = i+1
print(cnt)


n = int(input())
a = list(map(int, input().split()))

cnt = [0] * n
for i in range(n):
    x = a[i]
    cnt[x-1] = i+1
print(*cnt)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n=int(input())
l=list(map(int,input().split()))
ans=[]
for i in range(n):
    s=l.index(i+1)
    ans.append(s)
for j in ans:
    print(j+1, end=' ')

n=int(input())
l=list(map(int,input().split()))
ans=[]
for i in range(n):
    for j in range(n):
        if i+1==l[j]:
            ans.append(j+1)
for i in ans:
    print(i, end=' ')

n = int(input())
l = list(map(int,input().split()))
ans = [0] * n

for i in range(n):
  ans[l[i]-1] = i + 1
print(*ans)


Verdicts: Time Limit Exceeded

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N=int(input())

values=list(map(int,input().split()))

keys=[i for i in range(1,N+1)]

keys_values_dict=dict(zip(keys,values))

keys_values_dict_sorted_as_list=sorted(keys_values_dict.items(),key=lambda x:x[1])

ans=[keys_values_dict_sorted_as_list[i][0] for i in range(N)]

print(ans)

N=int(input())

values=list(map(int,input().split()))

keys=[i for i in range(1,N+1)]

keys_values_dict=dict(zip(keys,values))

keys_values_dict_sorted_as_list=sorted(keys_values_dict.items(),key=lambda x:x[1])

ans=[str(keys_values_dict_sorted_as_list[i][0]) for i in range(N)]
ans=' '.join(ans)
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

ans = [-1] * N

for i in range(N):
    ans[A[i] - 1] = A.index(A[i])+1

print(ans)


N = int(input())
A = list(map(int, input().split()))
ans = [0] * N
for i in range(N):
    ans[A[i]-1] = i+1

print(*ans)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1])
for j in range(n):
  a[j].append(A[j])
a.sort(key=lambda x:x[1])
lst=[]
for i in range(n):
  lst.append(a[i][0])
print(lst)
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1])
for j in range(n):
  a[j].append(A[j])
a.sort(key=lambda x:x[1])
lst=[]
for k in range(n):
  lst.append(str(a[k][0]))
print(''.join(lst))
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1])
for j in range(n):
  a[j].append(A[j])
a.sort(key=lambda x:x[1])
lst=[]
for k in range(n):
  lst.append(str(a[k][0]))
print(map(int,''.join(lst)))
  


n=int(input())
a=list(map(int,input().split()))
b=sorted(a)
lst=[]
for i in range(n):
  lst.append((a.index(b[i]))+1)
print(lst)
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1,A[i]])
a.sort(key=lambda x:x[1])
lst=[]
for k in range(n):
  lst.append(a[k][0])
print(lst)
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1])
for j in range(n):
  a[j].append(A[j])
sorted(a,key=lambda x:x[1])
lst=[]
for i in range(n):
  lst.append(a[i][0])
print(lst)
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1,A[i]])
b=sorted(a,key=lambda x:-x[1])
lst=[]
for k in range(n):
  lst.append(b[k][0])
print(lst)
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1])
for j in range(n):
  a[j].append(A[j])
a.sort(key=lambda x:x[1])
lst=[]
for k in range(n):
  lst.append(a[k][0])
print(''.join(lst))
  


n=int(input())
A=list(map(int,input().split()))
a=[]
for i in range(n):
  a.append([i+1,A[i]])
b=sorted(a,key=lambda x:x[1])
lst=[]
for k in range(n):
  lst.append(b[k][0])
print(*lst)
  


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np

N = int(input())

A_list = list(map(int, input().split()))

ans = np.argsort(A_list) + np.ones(N)
print(ans.astype(np.int64))

import numpy as np

N = int(input())
A_list = list(map(int, input().split()))

ans = np.argsort(A_list) + np.ones(N)
ans_int = ans.astype(np.int64)
ans_str = ans_int.astype(str)
print(' '.join(ans_str))

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
#abc142C_go to school
N = int(input())
A = list(map(int, input().split()))
for i in range(1,N+1):
    print(A.index(i)+1,end=' ')

#abc142C_go to school
N = int(input())
A = list(map(int, input().split()))
cnt =1
while cnt < N+1:
    for i in range(N):
        if A[i] == cnt:
            print(i+1,end=' ')
            cnt +=1
            break

N = int(input())
A = list(map(int, input().split()))
L = [[] for i in range(N)]
for i in range(N):
    L[i] = [A[i], i+1]
L.sort()
ans = [0 for i in range(N)]
for i in range(N):
    ans[i] = L[i][1]
print(*ans)



Verdicts: Time Limit Exceeded

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))
B = []

for i in range(1, N+1):
    for s in range(N):
        if A[s] == i:
            B.append(s+1)
            break

print(B)


N = int(input())
A = list(map(int, input().split()))
B = [0] * len(A)

for i in range(N):
    B[A[i]-1] = str(i+1)

print(' '.join(B))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N=int(input())
a = list(map(int, input().split()))
n = list(range(1,N+1))
for i in range(N):
    print(n[a.index(i+1)] )

N=int(input())
a = list(map(int, input().split()))
for i in range(N):
    print(a.index(i+1)+1)

N=int(input())
a = list(map(int, input().split()))
b = []
def A(N,a):
    for i in range(N):
        b.append(a.index(i+1)+1)
    b = ' '.join(map(str, b))
    print(b)  
A(N,a)

n=int(input())
a=list(map(int,input().split()))
b=[0]*n
for i in range(n):
  b[a[i]-1]=str(i+1)
print(" ".join(b))

Verdicts: Time Limit Exceeded

Time Limit Exceeded

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
# -*- coding: utf-8 -*-

N = int(input())
num_list = list(map(int, input().split()))
order_list = sorted(range(len(num_list)), key=lambda k: num_list[k])
order_list = list(map(lambda x: x+1, order_list))
print('{}'.format(order_list))


# -*- coding: utf-8 -*-

N = int(input())
num_list = list(map(int, input().split()))
order_list = sorted(range(len(num_list)), key=lambda k: num_list[k])
print('{}'.format(order_list))


# -*- coding: utf-8 -*-

N = int(input())
num_list = list(map(int, input().split()))
order_list = sorted(range(len(num_list)), key=lambda k: num_list[k])
order_list = list(map(lambda x: x+1, order_list))
[print(' '.join([str(i) for i in order_list]))]


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a=[]

b = list(map(int, input().split()))
for i in range(n):
    4a+=[[i+1, b[i]] ]
    
    
import operator as op
a.sort(key = op.itemgetter(1))

x=""
for i in range(n):
    x+=str(a[i][0])
    if i!=n-1:
        x+=" "
#a = [[3,-9],[2,3],[1,20]]
print(x)

n = int(input())
a=[]

b = list(map(int, input().split()))
for i in range(n):
    a+=[[i+1, b[i]] ]
    
    
import operator as op
a.sort(key = op.itemgetter(1))

x=""
for i in range(n):
    x+=str(a[i][0])
    if i!=n-1:
        x+=" "

print(x)


Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N=int(input())
S=list(map(int, input().split()))
T=[]
for i, num in enumerate(S, 1):
  p = (num, i)
  T.append(p)
for i in range(N):
  print(T[i][0], end=' ')
  

n=int(input())
l=list(map(int, input().split()))
ans=[0]*n
for i in range(n):
  ans[l[i]-1] = i+1
print(*ans)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np
_ = input()
hoge = np.array(list(map(int, input().split())))

res = ''
for i in np.argsort(hoge):
  res += str(i) + ' '
print(res[:-1])

import numpy as np
_ = input()
hoge = np.array(list(map(int, input().split())))

res = ''
for i in np.argsort(hoge):
  res += str(i) + ' '
print(res[:-1]

import numpy as np
_ = input()
hoge = np.array(list(map(int, input().split())))

res = ''
for i in np.argsort(hoge):
  res += str(i + 1) + ' '
print(res[:-1])

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
sort_a = sorted(a)

ans = ""
for i in sort_a:
    attend = str(a.index(i) + 1) + " "
    ans += attend
    

print(ans)

n = int(input())
a = list(map(int, input().split()))

ans = [""]*n

for i in range(n):
    ans[a[i]-1] = str(i+1) 

print(" ".join(ans))

Verdicts: Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))

a = sorted(A)

result = list()

for i in range(N):
   result.append(A.index(a[i]) + 1)
  
print(result)

N = int(input())
A = list(map(int,input().split()))

a = sorted(A)
print(a)
result = list()

for i in range(N):
   result.append(A.index(a[i]) + 1)
  
print(result)

import numpy as np
N = int(input())
A = list(map(int,input().split()))



print(np.argsort(A) + 1)

import numpy as np
N = int(input())
A = list(map(int,input().split()))

result = np.argsort(A) + 1
print(' '.join(map(str, result)))

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(A[i],i)
print(box)

N=int(input())
A=tuple(map(int,input().split()))

a=[0]*N

for i in range(N):
    a[A[i]]=i+1

print(" ".join(map(str,a)))

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(A.index(i+1),i)
print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N)
    box.insert(A[i],i)
    print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(i,A.index(i+1)+1)
print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
    box.insert(A[i],i)
    print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(A[i]-1,i)
print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(i,A.index(i+1)+1)
print(join(box))

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(A[i]-1,i+1)
print(box)

N=int(input())
A=list(map(int,input().split()))
box=[]

for i in range(N):
  box.insert(i,A.index(i+1)+1)
print(' '.join(box))

N=int(input())
A=tuple(map(int,input().split()))

a=[0]*N

for i in range(N):
    a[A[i]-1]=i+1

print(" ".join(map(str,a)))

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

order = [0] * N
flag = 0
for i in range(0, N):
    flag = A.index(min(A))
    order[i] = flag + 1
    A[flag] = N + 1

for s in order:
    print(s, end =" ")


N = int(input()) 
A = list(map(int,input().split()))
 
lis = []
for i in range(N):
    lis.append ([A[i],i+1])
 
lis.sort()
ans = []
for i in range(N):
    ans.append(lis[i][1])
 
print(" ".join(map(str,ans)))


Verdicts: Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = [int(a) for a in input().split()]
ans = []
for i in range(N):
  ans.append(A.index(max(A)) + 1)
  A[A.index(max(A))] = 0
ans.reverse()
for i in range(N):
  print(ans[i], end = " ")

N = int(input())
A = [int(a) for a in input().split()]
ans = []
for i in range(1, N+1):
  print(A.index(i) + 1, end = " ")


N = int(input())
A = [int(a) for a in input().split()]
ans = []
for i in range(N):
  ans.append(A.index(min(A)) + 1)
  A[A.index(min(A))] = N + 1
for i in range(N):
  print(ans[i], end = " ")


N = int(input())
A = [int(a) for a in input().split()]
ans = []
for i in range(1, N+1):
  ans.append(A.index(i) + 1)
for i in range(N):
  print(ans[i], end = " ")

N = int(input())
A = [int(a) for a in input().split()]
ans = [0] * N
for i in range(N):
  ans[A[i] - 1] = i + 1
print(*ans)

Verdicts: Time Limit Exceeded

Time Limit Exceeded

Time Limit Exceeded

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np

N = int(input())
A = list(map(int, input().split()))
T = [0] * N
for i in range(N):
    t = np.argmin(A)
    T[i] = t
    A[t] = N + 1
print(*T)


import numpy as np

N = int(input())
A = list(map(int, input().split()))
T = [0] * N
for i in range(N, 0, -1):
    t = np.argmax(A)
    T[t] = i
    A[t] = 0
print(*T)

import numpy as np

N = int(input())
A = list(map(int, input().split()))
T = [0] * N
for i in range(N, 0, -1):
    t = np.argmax(A)
    T[t] = i
    A[t] = 0
print(T)

import numpy as np

N = int(input())
A = list(map(int, input().split()))
T = [0] * N
for i in range(N):
    T[A[i]-1] = i + 1 
print(*T)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np

n = int(input())
a = np.array(list(map(int,input().split())))

ans = np.argsort(a)
print(ans + 1)

import numpy as np

n = int(input())
a = np.array(list(map(int,input().split())))

ans = np.argsort(a)
print(*ans + 1)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np
N = int(input())
A = list(map(int,input().split()))
ls = [0]*N
for i in range(N):
    ls[i] = A.index(i+1)
np.add(ls+1)
print(*ls)

N = int(input())
A = list(map(int,input().split()))
ls = [0]*N
for i in range(N):
    ls[A[i]-1] = i+1
print(*ls)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = list(map(int,input().split()))
B = [0]*N
for i in range(n):
    x = A[i]
    B[x] = str(i+1)
B = " ".join(B)
print(B)

N = int(input())
A = list(map(int,input().split()))
B = [0]*N
for i in range(N):
    x = A[i]
    B[x-1] = str(i+1)
B = " ".join(B)
print(B)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
arr = list(map(int,input().split(' ')))
res = [0]*(n+1)
for i,v in enumerate(arr):
  res[v] = i+1
res.pop(0)
print(' '.join(res))

n = int(input())
a = list(map(int, input().split()))
 
b = [0] * n
for i in range(n):
    b[a[i] - 1] = str(i + 1)
 
print(' '.join(b))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n=int(input())
A=[[int(i)] for i in input().split()]

for i in range(n):
  A[i].append(i)
A=sorted(A, key=lambda x:x[0])
B=[A[i][1] for i in range(n)]

print(*B)

n=int(input())
A=[[int(i)] for i in input().split()]

for i in range(n):
  A[i].append(i)
A=sorted(A, key=lambda x:x[0])
B=[A[i][1]+1 for i in range(n)]

print(*B)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N = int(input())
A = [int(x) for x in input().split()]

def retInd(A, k):
    for i in range(len(A)):
        if A[i]-1== k:
            return i

for i in range(N):
    print(retInd(A,i)+1, end=" ")


N = int(input())
A = [int(x) for x in input().split()]

AB = [(A[i],i) for i in range(N)]

AB.sort(key = lambda x:x[0])

B = [AB[i][1]+1 for i in range(N)]

ans = " ".join(map(str,B))
print(ans)


Verdicts: Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
line = list(map(int, input()))
ans = [0 for i in range(n)]
for i in range(n):
  ans[line[i-1]] = i+1
print(' '.join(ans))

n = int(input())
line = list(map(int, input().split()))
ans = [0 for i in range(n)]
for i in range(n):
  ans[line[i-1]] = i+1
print(' '.join(ans))


n = int(input())
line = list(map(int, input().split()))
ans = ['0' for i in range(n)]
for i in range(n):
  ans[line[i]-1] = str(i+1)
print(' '.join(ans))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))
ans = [0 for _ in range(n)]
for i in range(1, n + 1):
    ans[i - 1] = a.index(i) + 1
print(ans)


n = int(input())
a = list(map(int, input().split()))
ans = [0 for _ in range(n)]
for i, x in enumerate(a, 1):
    ans[x - 1] = str(i)
print(' '.join(ans))


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))
b={}
cnt=1;
for i in a:
    b[i]=cnt
    cnt+=1
print(a)
print(b)
for i in range(1,n+1):
    print(b[i], end=" ")

n=int(input())
a=list(map(int,input().split()))
for i in range(1,n+1):
    b=a.index(i)+1
    print(b,end=" ")

n=int(input())
a=list(map(int,input().split()))
l=[0]*n
for x,i in enumerate(a):
    l[i-1]=x+1
print(*l)

Verdicts: Wrong Answer

Time Limit Exceeded

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
n = int(input())
a = list(map(int, input().split()))

l = []
for i in range(n):
    x = index(i + 1) + 1
    l.append(x)
    
print(' ', join(l))

n = int(input())
a = list(map(int, input().split()))

for i in range(n):
    x = a.index(i + 1) + 1
    print(x, end=' ')

n = int(input())
a = list(map(int, input().split()))

for i in range(len(a)):
    x = a.index(i + 1) + 1
    print(x, end=' ')

n = int(input())
a = list(map(int, input().split()))

l = []
for i in range(n):
    x = l.index(i + 1) + 1
    l.append(x)
    
print(' ', join(l))


n = int(input())
a = list(map(int, input().split()))

l = [0] * n

for i in range(n):
    l[a[i] - 1] = i + 1

print(*l)

Verdicts: Runtime Error

Time Limit Exceeded

Time Limit Exceeded

Runtime Error

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
import numpy as np
n = int(input())
a = np.array(list(map(int, input().split(" "))))
b = list(np.argsort(a)[::-1])
b = [str(s) for s in b]
print(" ".join(b))

import numpy as np
n = int(input())
a = np.array(list(map(int, input().split(" "))))
b = list(np.argsort(a)[::-1] + 1)
b = [str(s) for s in b]
print(" ".join(b))

import numpy as np
n = int(input())
a = np.array(list(map(int, input().split(" "))))
b = list(np.argsort(a) + 1)
b = [str(s) for s in b]
print(" ".join(b))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is a teacher responsible for a class of N students.  The students are given distinct student numbers from 1 to N.  Today, all the students entered the classroom at different times.  According to Takahashi's record, there were A_i students in the classroom when student number i entered the classroom (including student number i).  From these records, reconstruct the order in which the students entered the classroom.

Submission attempts (in order):
N=int(input())
A=[int(i) for i in input().split()]
lists=[None]*N

for i in range(N):
    lists[A[i]-1]=i+1
print(lists)

N=int(input())
A=[int(i) for i in input().split()]
lists=[None]*N

for i in range(N):
    lists[A[i]-1]=i+1
print(" ".join(map(str,lists)))

Verdicts: Wrong Answer

Accepted