ghoshsai5000's blog

By ghoshsai5000, history, 7 years ago, In English

I have been trying to solve this Hacker Earth problem and it is reduced to finding the Fibonacci numbers. However, I am getting wrong answers for big values.

Here is my code. Can someone tell me what is wrong ?

  • Vote: I like it
  • +4
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it +16 Vote: I do not like it
scanf("%lld",&no_of_days);

AC