Problem L: 求1~n的平方和

Problem L: 求1~n的平方和

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

Description

 sum=12+22+32+……+n2 之和,输入为不超过100的正整数

Sample Input

3

Sample Output

14