Problem B: 求1+3+5+…+n(for循环或while循环)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:20
Solved:16
Description
求1+3+5+…+n(n是奇数)
Input
输入n(n<=99的奇数)
Output
输出结果
Sample Input Copy
5
Sample Output Copy
9