
矩阵
矩阵
Authur_gyc
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2020牛客寒假算法基础集训营1 题解
A题 honoka和格点三角形 纸上画一画,即可推出公式。 这我存在计算重复的,要去重。 #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 1e9 + 7; int main() { ll n, m; scanf("%lld %lld", &...原创 2020-02-04 23:11:54 · 376 阅读 · 0 评论 -
HDU 4565 (构造共轭函数+矩阵快速幂)
题目 http://acm.hdu.edu.cn/showproblem.php?pid=4565 HDU 4565 A sequence S n is defined as: Where a, b, n, m are positive integers.┌x┐is the ceil of x. For example, ┌3.14┐=4. You are to calculate S n. ...原创 2019-04-05 20:24:21 · 394 阅读 · 0 评论 -
组队赛2: Apple Trees 矩阵构造+矩阵快速幂
题目 Apple Trees In the beginning God created the heaven and the earth, the next five days God created the light, the water, the sky, the land, the trees and the living creatures, and on the sixth day h...原创 2019-04-07 17:32:55 · 283 阅读 · 0 评论