1346: 【循环基础】求奇数和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:564 Solved:5

Description

计算并输出:(n为奇数)
   1+3+5+7+...+n

Input

n

Output

1+3+5+7+...+n的和

Sample Input Copy

3

Sample Output Copy

4

Source/Category