Tasks:
 
Task DescriptionDiscussion (0)
Task :: Odd Divisor
A number is called unique if its number of divisors is odd. For example, 14 has 4 divisors(even divisor): 1, 2, 7, 14.

INPUT:
You are given 2 numbers: A and B.
1<=A<=B<=10^9


OUTPUT:
Determine the sum of numbers from A to B which has odd divisor.


Input:
2300 2410

Output:
4705



Explanation:
The number which has odd divisor from 2300 to 2410 are 2304 and 2401.
The answer is: 2304+2401= 4705.
Submit Solution
:
:
Available Languages
Task info
Name:Odd Divisor
Time:0.7 sec.
Memory:16 MB
#Tests:10
AddedBy: harta01
Task Ratings
Difficulty:

4.5 (18 votes)
Quality:

4.6 (16 votes)
Acceptance Rate
Recent Submissions
Fastest Solutions
UserTime
D.Ostojic 0 s.
syntax_error 0 s.
AhmedKamel 0 s.
IgorHalilovic 0 s.
fizaaaa 0 s.
halil 0 s.
harta01 0 s.
tamer_eldeeb 0 s.
oduleodule 0 s.
hrenic 0 s.
Solved By