Congruence Equation
919E2100· master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 3 5 8
Output
2
Sample 2of 3
Input
4 6 7 13
Output
1
Sample 3of 3
Input
233 233 10007 1
Output
1
58%
919E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 3 5 8
2
4 6 7 13
1
233 233 10007 1
1