2 ms·
I'm good at arithmetic, to the point that my buddy called from across the country a few days ago to have me perform "hard" math questions for his kids. It's alw
by kstrauser 2y ago
I'm good at arithmetic, to the point that my buddy called from across the country a few days ago to have me perform "hard" math questions for his kids. It's always a relief when they pick random numbers like "what's 83 times 97?" Whew. Well, 90**2 - 7**2 = 8051. As a bonus, when you explain that method, it sounds even more impressive to them: "you mean, you just know what 63 squared is?" Sure, but it didn't happen overnight.
- bee_rider 2y agoI think your star star just rendered as a star.
- kstrauser 2y agoOops, good catch.
- teachrdan 2y agoThat close to 100, I'll just do 83*100 - 83*3
- kstrauser 2y agoThat takes me longer for whatever reason. It would also require me to identify that as a special "close to 100" case I'd have already calculated it the other way by the time decided to swap in that algorithm. Basically, branching takes me too many cycles.