Vietnamese snake puzzle  Closed

05232015, 09:08 AM
Post: #27




RE: Vietnamese snake puzzle  Closed
Gerson: for the intermediate results to be integer, c must divide b, which is not the same as saying c must be 1 ;))
I've written an RPL solution as well that, on EMU48 at full pelt, cranks out all 136 solutions in 30 seconds. But I'm not happy with it yet. I used Heap's algorithm to generate all permutations  then it took 256 seconds. Including the condition that Code: MOD(13*b*i + g*h*c,c*i)=0 Cheers, Werner 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)