Problems
Contests
Account
Problems
> Sequence h=4a+4b (h0=0,h1=1) > Editorial
Sequence h=4a+4b (h0=0,h1=1) — Solution & Editorial
Back to the Problem
2×2 companion matrix exponentiation.
Complexity:
O(log N)
×
Refer Job