Sum of five cubes – codegolf.stackexchange.com

Given an integer, output five perfect cubes whose sum is that integer. Note that cubes can be positive, negative, or zero. For example,

-10 == -64 – 64 + 64 + 27 + 27
so for input -10 you could …

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *