You are viewing a single comment's thread. Return to all comments →
Crazy 1-liner in Python3. :D
print(*(lambda s: sorted(range(1, len(s) + 1), key=lambda i: s[i - 1]))(tuple(sum(map(int, input().split())) for _ in range(int(input())))))
Seems like cookies are disabled on this browser, please enable them to open this website
Jim and the Orders
You are viewing a single comment's thread. Return to all comments →
Crazy 1-liner in Python3. :D