Problem DescriptionYou just need to calculate the sum of the formula: 1^2+3^2+5^2+……+ n ^2.
InputIn each case, there is an odd positive integer n.
OutputPrint the sum. Make sure the sum will not exceed 2^31-1
Sample Input3
Sample Output10
http://blog.csdn.net/qq_26525215/article/details/51319577