Thread: September 2016
View Single Post
Old 2016-09-03, 15:57   #8
Batalov's Avatar
Mar 2008

982110 Posts

Pruning the tree works one-derfully here, because the answer is such a small number.
If the answer was, say, a two digit number, then much more of the tree would have been to be visited. My program runs for milliseconds (if the bound is set to 20 or 40) and for microseconds (if the bound is set to 2).
Batalov is offline   Reply With Quote