BejelentkezésOldalsáv elrejtése
Felhasználói név: 
Jelszó: 
IP korlátozás 

whaaa  Go to the Towers of Hanoi challenge

1 2
Globális ranglista: 812
Összpontszám: 31538
Üzenetek: 3
Köszönetek: 3
Jó szavazatok: 3
Regisztrált: 15é 354n

Utoljára it járt: 15é 335n
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Just solved the hanoi towers challenge, I got the Congratulation message, got linked to solution=some hash site, and nothing happened! Woot Is this part of the challenge? I saved the hash so if I can PM anyone about this it would be great Smile
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 123n




Utoljára it járt: 3n 4ó
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Maybe you just were not logged in.

Also it might be that you have to request the solutionpage with your browser manually.
Because the applet might not send the phpsessid to the pages.

Greetings
Gizmore
The geeks shall inherit the properties and methods of object earth.
Globális ranglista: 29530
Összpontszám: 0
Üzenetek: 257
Köszönetek: 237
Jó szavazatok: 174
Regisztrált: 24é 206n
Utoljára it járt: 0m
A felhasználó online
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Is it possible to pass this challenge by doing it the "logic" way, rather than the "java" way?

I spent about 3 hours and got very close... ;)
Globális ranglista: 172
Összpontszám: 115603
Üzenetek: 166
Köszönetek: 162
Jó szavazatok: 119
Regisztrált: 16é 115n
Z Avatárja



Utoljára it járt: 291n 9ó
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
In theory, yes, it is possible. The problem is that in some bad cases (network problems) it is not guaranteed, that solving the towers by hand will give you the good solution string.
I think in the Java way it could be solved in 30 minutes - if you are slow Smile
Globális ranglista: 10790
Összpontszám: 364
Üzenetek: 2
Köszönetek: 1
Jó szavazatok: 1
Regisztrált: 15é 238n
Utoljára it járt: 14é 135n
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Idézet tőle: ObsidianAge

Is it possible to pass this challenge by doing it the "logic" way, rather than the "java" way?

I spent about 3 hours and got very close... ;)


Actually, no, it isn't (okay, it can be, but it's almost impossible). I've reversed the Java code and it seems it accepts ONLY one solution. Moreover, it has to be solved within 1024 moves.

Spoiler:
The simple recursive solution takes exactly 1023 moves, but it has several combinations (where to put the first token, which is the first state, etc.). I've played a lot of with this challange, but wasn't able to reproduce the required combination yet (or I've just failed to implement the hashing algorithm).

I'd really appreciate if I could talk in PM about this challange with someone.
Globális ranglista: 172
Összpontszám: 115603
Üzenetek: 166
Köszönetek: 162
Jó szavazatok: 119
Regisztrált: 16é 115n
Z Avatárja



Utoljára it járt: 291n 9ó
A felhasználó offline
whaaa
Google/fordító1Köszönjük!0Értékes üzenet!1Gagyi üzenet! kapcsolás
You can always PM me, but I have to say that:

Yes, there is only one accepted solution.

This solution is unique, because the solution which completes the challenge in 1023 moves is unique. If you put your first disc to the right peg (and not to the middle peg), you can't solve it in 1023 moves.

The final state is reached if all discs are on the right peg, please be aware of it.
Globális ranglista: 35
Összpontszám: 291766
Üzenetek: 168
Köszönetek: 165
Jó szavazatok: 183
Regisztrált: 16é 106n
livinskull Avatárja





Utoljára it járt: 9m
A felhasználó online
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Weird..
Thought I solved it with a little program i wrote Happy
So it IS possible Drool
Seemed to have some luck nevertheless...
Globális ranglista: 376
Összpontszám: 62381
Üzenetek: 3
Köszönetek: 5
Jó szavazatok: 2
Regisztrált: 15é 36n


Utoljára it járt: 9é 153n
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
errr.. just solved it in a logic way, took me about 30 min. it showed me "congratulations" and redirected to the page saying the solution is wrong.. why? i was still logged in.
Globális ranglista: 252
Összpontszám: 87258
Üzenetek: 1644
Köszönetek: 1343
Jó szavazatok: 894
Regisztrált: 16é 123n




Utoljára it járt: 3n 4ó
A felhasználó offline
whaaa
Google/fordító1Köszönjük!0Értékes üzenet!1Gagyi üzenet! kapcsolás
Z changed his Towers of hanoi challenge, it now has an official time limit of 60 seconds to solve the problem.

Edit: You can see the new applet and description here: /challenge/hanoi, and there is also a link to the challenge in the thread title (every challenge related thread should have that)
The geeks shall inherit the properties and methods of object earth.
Utoljára szerkesztette: gizmore - Május 21, 2009 - 23:02:27
Globális ranglista: 683
Összpontszám: 38100
Üzenetek: 25
Köszönetek: 13
Jó szavazatok: 13
Regisztrált: 14é 314n
Vampire Avatárja
Utoljára it járt: 1é 120n
A felhasználó offline
whaaa
Google/fordító1Köszönjük!1Értékes üzenet!0Gagyi üzenet! kapcsolás
Actually it IS still possible to solve this one the "logical" way. You just have to do some patching first, because doing 1023 moves in 60 seconds is really challenging. Smile

BUT, don't do it. I know how to solve the Towers of Hanoi since I'm a child, but still doing 1023 moves needs time, and precision. You must not do any false move, because you cannot correct it within the 1023 moves limit, so you need the shortest possible solution. And also you have to be lucky that the browser doesn't crash and as Z already wrote, that your network connection is stable as the applet is not as stable as it could be. Actually it took me some tries, because I tried to do it too fast and made errors, or the browser crashed, or whatever, and of course not before at least 500 moves were made already.

Doing it the "non-logical" way did cost me about 5-10 minutes and is far more reliable. Smile
1 2
Redknee, tunelko, silenttrack, n0tHappy, Vampire, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, kalungmas feliratkozott erre a beszélgetésre és automatikusan e-mailt kap új üzenet esetén.
1 darab ember nézegeti jelenleg ezt a beszélgetést.
Ezt a beszélgetést 20187-szer jelenítettük meg.