You are viewing a single comment's thread. Return to all comments →
Nice! I was curious if anyone else had posted one. I tried to make mine somewhat readable (for a one-liner).
print(*[customer for (time, customer) in sorted([(sum(map(int,input().split())), i+1) for i 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 →
Nice! I was curious if anyone else had posted one. I tried to make mine somewhat readable (for a one-liner).