You are viewing a single comment's thread. Return to all comments →
n, m = map(int, input().split()) atheles = [list(map(int, input().split())) for _ in range(n)] k = int(input()) [print(*x) for x in sorted(atheles, key=lambda x: x[k])]
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 →