3 ms·
The result is off by 1. :) Not bad though!
by aristidb 14y ago
The result is off by 1. :) Not bad though!
- Retric 14y agoYea, but you can correct for that. Because it's always going to be close but low. So just1 add number to it's self twice and if that's low add 1, repeat as needed. PS: Or because there is no need for it to be fast just start with zero keep adding 1 until 3x+3 > n.