in reply to Re: Puzzle: need a more general algorithmin thread Puzzle: need a more general algorithm
This is definitely not optimized.
More than 20 minutes have passed and (50, 1..150) didn't finish yet...
Update: got Out of memory