Update solution for 부녀회장이_될테야 w/ id 6705109
Time: 80ms MemUsage: 31252KB
This commit is contained in:
6
baekjoon/부녀회장이_될테야/solution_6705109.py
Normal file
6
baekjoon/부녀회장이_될테야/solution_6705109.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from math import factorial as fact
|
||||
|
||||
for _ in range(int(input())) :
|
||||
k,n = int(input()),int(input())
|
||||
print(fact(n+k)//(fact(n-1)*fact(k+1)))
|
||||
|
||||
Reference in New Issue
Block a user