xehoth / xehoth-blog-comment

0 stars 0 forks source link

「BZOJ 5104」Fib数列-BSGS+二次剩余 | xehoth #309

Open xehoth opened 6 years ago

xehoth commented 6 years ago

https://blog.xehoth.cc/BZOJ5104/

求在 $\bmod 10 ^ 9 + 9$ 的意义下,数字 $C$ 在 $\text{Fib}$ 数列的哪个位置,无解输出 $-1$。