FIBEASY September Long 2019

@warg Can you please explain your logic??
How did you came up with this??

by observing the pattern while doing { \mod}10

1 Like

Yes by observing the pattern. I checked manually for the small nos. And verified the logic using python (it allows you to work with very very large nos. Easily) and after that I gave it a try.

1 Like

This will help you alot : Easy Fibonacci | September long challenge 2019 | Codechef Solutions & Code || FIBEASY | Hello World - YouTube

1 Like

This will help you alot : Easy Fibonacci | September long challenge 2019 | Codechef Solutions & Code || FIBEASY | Hello World - YouTube
thanks

Thanks @warg and @syntaxhacker. :smiley: