Tính tổng 1

View as PDF

Points: 100 Time limit: 1.0s Memory limit: 512M Input: stdin Output: stdout

Nhập vào 1 số nguyên \(n\).

Tính tổng \(1*1*1 + 2*2*2 + 3*3*3 + … + n*n*n\).

Example

Test 1

Input
3 
Output
36

Comments (21)

Order by
Loading comments...