Problem C: 计算1+3+5...

Problem C: 计算1+3+5...

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

Description

输入正整数N(N≤65535),计算[1,N]之内的所有奇数之和,并输出计算结果

Sample Input Copy

1
2
3
4
9
19
20

Sample Output Copy

1
1
4
4
25
100
100