You are viewing a single comment's thread. Return to all comments →
if name == 'main': n,m = map(int,input().split()) arr = []
for _ in range(n): arr.append(list(map(int, input().rstrip().split()))) k = int(input()) for info in sorted(arr,key = lambda x : x[k]): print(*info)
`
Seems like cookies are disabled on this browser, please enable them to open this website
Athlete Sort
You are viewing a single comment's thread. Return to all comments →
if name == 'main': n,m = map(int,input().split()) arr = []
`