3 ms·
How is this method faster than counting them out, when the end result is 238 stones that you have to count in order to know the answer?
by mistercow 13y ago
How is this method faster than counting them out, when the end result is 238 stones that you have to count in order to know the answer?
- DanBC 13y agotry it for 57 * 48
- mistercow 13y agoHow is that an answer? In the end you're still going to be counting out 2736 stones either way. In the shaman's algorithm, you'll end up doing so twice and some change, in a much more complicated and easily screwed up algorithm.
- DanBC 13y agoDoes anextio's reply here help? (https://news.ycombinator.com/item?id=6503669 https://news.ycombinator.com/item?id=6503669)