Czesc Robię sobie to zadanie https://pl.spoj.com/problems/PP0502B/
Mam napisany taki kod i dostaję błędną odpowiedź:
ile=int(input())
for x in range(ile):
a = list(map(int, input().split(' ')))
unik=[]
for j in a:
if j not in unik:
unik.append(j)
for j in reversed(unik):
print(j,end=" ")