python-algorithm

[백준] 11050

무적김두칠 2021. 1. 21. 10:33

1
2
3
4
import math
import sys
a,b=map(int,sys.stdin.readline().split())
print(math.factorial(a)//math.factorial(b)//math.factorial(a-b))
cs
반응형