일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 2579
- 라즈베리파이3b+
- nav-tab
- 라즈베리파이
- HTML
- 16.04
- dynaminprogramming
- 2909
- dp
- 트리
- Python
- 라즈베리파이3
- 파이썬
- 크롤링
- springboot3.x
- raspberrypi
- Algorythm
- CSS
- bootstrap
- NAV
- 라즈비안
- 알고리즘
- MongoDB
- ubuntu
- algotythm
- node.js
- 13237
- Crawling
- 백준
- baekjun
Archives
- Today
- Total
노트
[백준] 25631번 마트료시카 합치기 python 본문
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)
'알고리즘' 카테고리의 다른 글
[백준] 1240번 노드사이의 거리 python (0) | 2024.03.17 |
---|---|
[백준] 23028번 5학년은 다니기 싫어요 python (0) | 2024.03.10 |
[백준] 13237번 Binary tree python (0) | 2024.03.01 |
[백준] 14501번 퇴사 python (0) | 2024.03.01 |
[백준] 1389번 케빈 베이컨의 6단계 법칙 python (0) | 2024.02.19 |
Comments