← Back to topics
Topic

z-sokoban

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

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

Have fun :) ...

p.s. say when you get AC to delete the code :)
o
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 :)