Ehab's REAL Number Theory Problem
1325E2600· international gm3s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
31 4 6
Output
1
Sample 2of 4
Input
42 3 6 6
Output
2
Sample 3of 4
Input
36 15 10
Output
3
Sample 4of 4
Input
42 3 5 7
Output
-1
58%
1325E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…