Created
August 16, 2021 08:01
-
-
Save seamaner/1d3d656f1344a6c394dc44ca0b53bde3 to your computer and use it in GitHub Desktop.
Chinese Remainder Theorem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for k in range(100): | |
a=17*k+5 | |
if a % 11 == 3 and a % 5 == 2: | |
print a%935 | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment