摘要: 题目链接:https://www.luogu.com.cn/problem/P1962 解题思路: 因为 \[\begin{bmatrix} 0 & 1 \\ 1 & 1 \end{bmatrix} \times \begin{bmatrix} F_{i} \\ F_{i+1} \end{bmatr 阅读全文
posted @ 2025-11-20 18:30 quanjun 阅读(5) 评论(0) 推荐(0)
摘要: 题目链接:https://www.luogu.com.cn/problem/P3390 矩阵快速幂模板题。 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 105; const long long mod = 阅读全文
posted @ 2025-11-20 18:08 quanjun 阅读(5) 评论(0) 推荐(0)