Find the unique solution to a system of modular congruences using the Chinese Remainder Theorem.
Constraints
Example
>>> crt([2, 3], [3, 5]) 8 >>> crt([1, 2, 3], [2, 3, 5]) 23 >>> crt([0], [7]) 0
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints