3 ms·
I implemented the Babylonian square root problem using a simple "x to the power of 0.5" and it accepted the answer!
by amelius 6y ago
I implemented the Babylonian square root problem using a simple "x to the power of 0.5" and it accepted the answer!
- PolarizedPoutin 6y agoYeah haha, this is somewhat intentional! We thought it would be tedious to write tons of code to make sure users don't take the easy way out for each problem and language, so we figured we might as well allow it. We can't force users to solve the problem our way.