Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2130--Positive odd number
2130: Positive odd number
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
44
Solved:
20
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Output the number of positive odd numbers between n and m,including n and m.
Input
Given two integer n、m
Output
The number of positive odd numbers
Sample Input
Copy
-5 5
Sample Output
Copy
3
Source/Category
175