Sum of Cubes
Easy · rating 850 · Math
Read an integer n. Print 1³ + 2³ + … + n³.
Constraints: 1 ≤ n ≤ 104
Related problems
- Array Sum — Easy
- Digital Root — Easy
- Even Numbers Up To N — Easy
- Last Digit — Easy
- Shopping Cart Total — Easy
- Sum of Squares — Easy