Skip to content

Commit

Permalink
Update solve.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaPoo committed Feb 21, 2021
1 parent 94a75bf commit 80f0759
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Whitehacks2020/Concatacollision/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
s = pow(x0,-1,x1)*x0 - pow(x1,-1,x0)*x1*x1*10**p
s %= x0*x1

assert check(s)==1, len(s)==p-1
assert check(s)==1
print(s)

# > 31175392867133471711106087115764756200474617904802451549159453225242446295040
# > 31175392867133471711106087115764756200474617904802451549159453225242446295040

0 comments on commit 80f0759

Please sign in to comment.