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 == -27 + -27 + 125 + 0 + -81 so for input -10 you could ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Sum of five cubes – codegolf.stackexchange.com"