摘要:
题目链接:https://www.luogu.com.cn/problem/P3390 矩阵快速幂模板题。 示例程序: #include <bits/stdc++.h> using namespace std; const int maxn = 105; const long long mod = 阅读全文
摘要:
题目链接:https://www.luogu.com.cn/problem/P5854 笛卡尔树 模板题。 示例程序: 2026.9.2 #include <bits/stdc++.h> using namespace std; using ll = long long; const int max 阅读全文