4 ms·
I ended up using fractions in my head, which works pretty well as you essentially defer the division until the end. It’s a lot less state to carry in your head
by MobiusHorizons 4y ago
I ended up using fractions in my head, which works pretty well as you essentially defer the division until the end. It’s a lot less state to carry in your head too.
Basically you compute
(n + g^2)/(2g)
33 + 36 = 69
2 * 6 = 12
69/12 = 5+ 9/12 = 5 + 3/4 = 5.75