Username: 
Password: 
Restrict session to IP 

PyHash Questions  Go to the PyHash challenge

Global Rank: 251
Totalscore: 87259
Posts: 1646
Thanks: 1343
UpVotes: 895
Registered: 16y 137d




Last Seen: 4d 8h
The User is Offline
PyHash Questions
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi, on challenge:

a number > 31337.0 is required. and 72258202379729527373824.0 is a valid one but it says that "Your answer seems wrong!".

Are we looking for the smallest number > 31337 that satisfies the condition?

Greetings,
xseris

I guess that's a good idea. Also i am disappointed by the python type system...
The geeks shall inherit the properties and methods of object earth.
Global Rank: 3
Totalscore: 683760
Posts: 70
Thanks: 63
UpVotes: 61
Registered: 10y 116d
jusb3`s Avatar








Last Seen: 6s
The User is Online
RE: PyHash Questions
Google/translate1Thank You!1Good Post!0Bad Post! link
Quite ambiguous challenge. We are suppsed to find certain value? What should the representation of the number be? Should it be integer? I can find quite a lot of numbers that fit the spec...
Global Rank: 251
Totalscore: 87259
Posts: 1646
Thanks: 1343
UpVotes: 895
Registered: 16y 137d




Last Seen: 4d 8h
The User is Offline
RE: PyHash Questions
Google/translate0Thank You!0Good Post!0Bad Post! link
Yeah, it is indeed a bit ambigous and "crappy"
I assumed one would try to calculate a number that fits.
Try integers.

If you try the first obvious number that fits, you get a message that a bigger number is required.
Now try to calculate the next number that would work.

Greetz
Giz
The geeks shall inherit the properties and methods of object earth.
Global Rank: 251
Totalscore: 87259
Posts: 1646
Thanks: 1343
UpVotes: 895
Registered: 16y 137d




Last Seen: 4d 8h
The User is Offline
RE: PyHash Questions
Google/translate0Thank You!0Good Post!0Bad Post! link
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
The geeks shall inherit the properties and methods of object earth.
Global Rank: 29
Totalscore: 317129
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 11y 201d








Last Seen: 1d 3h
The User is Offline
RE: PyHash Questions
Google/translate0Thank You!0Good Post!0Bad Post! link
Tanks for the clarification and for revisiting your calculations! Beyond the working floating point cited in the first post (that still produces 31337 as hash) I was also trying the integer solution without success till today. Now it works!
tunelko, silenttrack, n0tHappy, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 669 times.