일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 크롤링
- MongoDB
- dynaminprogramming
- 16.04
- 라즈베리파이3b+
- baekjun
- algotythm
- dp
- 2579
- raspberrypi
- 파이썬
- bootstrap
- 라즈베리파이3
- Python
- 백준
- nav-tab
- springboot3.x
- 라즈베리파이
- Crawling
- ubuntu
- CSS
- 13237
- 알고리즘
- 2909
- 트리
- node.js
- HTML
- 라즈비안
- Algorythm
- NAV
Archives
- Today
- Total
노트
[백준] 2775번 부녀회장이 될테야 python 본문
n = int(input())
for i in range(n):
floor = int(input())
room = int(input())
f0 = [i for i in range(1,room+1)]
for j in range(floor):
for k in range(1,room):
f0[k] += f0[k - 1]
print(f0[room-1])
'알고리즘' 카테고리의 다른 글
[백준] 15903번 카드 합체 놀이 python (0) | 2023.09.03 |
---|---|
[백준] 1197번 최소 스패닝 트리 python (0) | 2023.08.20 |
[백준] 5567번 결혼식 python (0) | 2023.07.30 |
[백준] 2002번 추월 python (0) | 2023.07.23 |
[백준] 4949번 균형잡힌 세상 python (0) | 2023.07.11 |
Comments