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