You are given a range of numbers from [A, B]. Let's define a good divisor of a number N to be the largest odd divisor of N. You have to find the sum of all good divisors from [A, B] (both inclusive).
Scores will be calculated as follows:
Score = (1 - c / 2000) * 150
, where c
is the number of characters in your code. In case the characters exceed 2000, your score will be zero.
1+1+3+1=6
3+1+5+3+7=19