Help needed to solve this problem!!

Правка en1, от aya1909, 2020-11-22 16:33:32

Given a range [l r] find the sum of last digits of fibonacci numbers between l and r. i.e , last(fib(l))+last(fib(l+1)) .... last(fib(r)),

where last(fib(a)) denotes last digit of ath fibonacci number.

1<=l<=r<=1e9

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский aya1909 2020-11-22 16:33:32 258 Initial revision (published)