알고리즘
[백준] 25631번 마트료시카 합치기 python
_Myway
2024. 4. 7. 23:55
n = int(input())
lst = list(map(int,input().split()))
cnt = 0
while len(lst) > 0:
temp = set(sorted(lst))
for t in temp:
del lst[lst.index(t)]
cnt += 1
print(cnt)