Hack
Now
EN
Login
Register
HackNow
$C(N, K) \bmod P$ (tub $P > N$) | HackNow
Go back
Reading Mode
Problem
Submissions
$C(N, K) \bmod P$ (tub $P > N$)
lock
UZ only
Oson
100 points
3 s
256 MB
Input format
Output format
Constraints
Examples
1
1
Example #1
Input
5 2 1000000007
Output
10
Solution editor
Python 3
Clear
Language
PYTHON
UTF-8
Tab
4 spaces
Ctrl
+
Enter
Submit
Submit