Initial release

This commit is contained in:
Francois JUMELLE
2021-05-03 22:32:40 +02:00
commit 20526d93c8
928 changed files with 452368 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
def check_code(code_precedent, code_propose):
rounds = 20
code = code_propose
for i in range(20):
code = (code * 5231) % 999671
if code == code_precedent:
return 1
return 0
for i in range(1000000):
if check_code(773159, i) == 1:
print(i)
break