1074: 求连续奇数和

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:142 Solved:63

Description

读入奇数a1,an, 求a1+a2+……an的和,其中a1,a2……an是a1至an的连续奇数。



Sample Input Copy

1 9

Sample Output Copy

25

HINT

数据规模 1<= n <=9999

Source/Category