Runtime's blog

By Runtime, history, 10 years ago, In English

how to solve this Problem

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

»
10 years ago, hide # |
 
Vote: I like it +6 Vote: I do not like it

Fibonacci numbers are periodical. An upper bound for the period is 6 * modulo. Here is my accepted solution for reference.

»
10 years ago, hide # |
 
Vote: I like it +3 Vote: I do not like it

You can see more about Fibonacci numbers here :)