cf/mirror

Modular Equations

CF
495B1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
21 5
Output
2
Sample 2of 3
Input
9435152 272
Output
282
Sample 3of 3
Input
10 10
Output
infinity
495B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)