조합
last update: 2021.09.08.WED
2407 조합, Silver 2
Memory 29200KB, Time 68ms
n, m = map(int, input().split())
comb = 1
frag = 1
for i in range(m):
comb *= (n - i)
frag *= (i+1)
print(comb//frag)
last update: 2021.09.08.WED
Memory 29200KB, Time 68ms
n, m = map(int, input().split())
comb = 1
frag = 1
for i in range(m):
comb *= (n - i)
frag *= (i+1)
print(comb//frag)