Problem M: 求1~n的立方和

Problem M: 求1~n的立方和

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 839  Solved: 725
[Submit] [Status] [Web Board] [Creator:]

Description

 sum=13+23+33+……+n3 之和,输入为不超过20的正整数

如输入为3, 则输出为 1+8+27=36

Sample Input

3

Sample Output

36