Achilles numbers: Difference between revisions
m
→Version 2 (Much faster): Removed a redundant line.
(Added C++ and Rust solutions) |
m (→Version 2 (Much faster): Removed a redundant line.) |
||
Line 1,030:
var upper = 10.pow(maxExp)
var achilles = Set.new() // avoids duplicates
for (b in 1..upper.cbrt.floor) {
var b3 = b * b * b
|