← Back to topics
Topic

z-sokoban

ortschun
Could anyone explain the path needed for sample case 2 ?
Amtrix
http://pastebin.com/m35ecf61d
:)
ortschun
Could you help me finding my bug here?

http://z-trening.com/submit.php?submit=7100092221&subm_code=1
Amtrix
you complicated it much xD.....
want to look at my code ?
ortschun
Yeah it would be great
Amtrix
deleted ^^

Have fun :) ...

p.s. say when you get AC to delete the code :)
ortschun
Thanks for the help. My only mistake was not returning -1 if box cannot be pushed. I misread it as there will always be a valid solution =) You can delete the code now :)
Amtrix
np :)