CF 102644C - Fibonacci
I can write the editorial, but the problem statement section in your prompt is empty. I found that Codeforces 102644C “Fibonacci” asks for the n-th Fibonacci number modulo $10^9+7$, with $0 le n le 10^{18}$.
Rating: -
Tags: -
Solve time: 1m 24s
Verified: no
Solution
I can write the editorial, but the problem statement section in your prompt is empty. I found that Codeforces 102644C “Fibonacci” asks for the n-th Fibonacci number modulo $10^9+7$, with $0 \le n \le 10^{18}$.
Before producing the full editorial, I need one clarification: should I write the editorial for this exact problem (fast doubling / matrix exponentiation Fibonacci), or did you intend a different “Fibonacci” problem whose statement was omitted?