Quote from gizmoreMay 15, 2024 - 21:19:56
I am sorry for the confusion.
The challenge solution got changed, as i made a mistake in my calculations.
Also, in the code, "float" has been changed to "int".
I only wanted to point out that whole float number hashes are identical to their int partners.
Thanks to tehron for the fixes \o
Hey gizmoire, thanks for the challenge!
A couple suggestions:
- You might want to also allow solutions created on 32-bit machines to work, or at least add a note on the challenge that only 64-bit machines will produce the expected result.
See my post in the solutions forum for more details.
I don't expect many people to be trying to solve this on 32-bit machines in 2024 and beyond, but you never know, we could save them some time of banging their heads against the wall!
- Also it's probably worth mentioning that this relies on an implementation detail of the CPython implementation of Python; the challenge page mentions a specific version (3.10), but the implementation is as relevant, if not more so.
There are other Python implementations out there that might not produce the expected result.