What\'s the fastest way to do it?
My simple aproach:
for (C = 1;C
It can be done in O(cube_root(A)) Indeed, one of your numbers B and C must be less than cube_root(A)
O(cube_root(A))
B
C
cube_root(A)