Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem E: 计数器-两数之间的奇数的个数
Problem E: 计数器-两数之间的奇数的个数
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
675
Solved:
451
[
Status
] [
Submit
] [Creator:
]
Description
输入两个数a,b,把数字a~b之间(包含a,b)所有的奇数个数数出来。(a<= b)
Input
两个整数a,b
Output
输出a~b之间所有的奇数个数
Sample Input
Copy
4 11
Sample Output
Copy
4