Iamtui1010

ring.py

Aug 24th, 2022
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. import math
  2.  
  3. n, m, r = list(map(int, input().split()))
  4.  
  5. print(round(math.comb(r+n-1-m*n, n-1)))
Advertisement
Add Comment
Please, Sign In to add comment