您当前的位置: 首页 >  矩阵

钟钟终

暂无认证

  • 2浏览

    0关注

    233博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

2/11 矩阵快速幂+dp+二分

钟钟终 发布时间:2022-02-12 02:06:43 ,浏览量:2

矩阵快速幂模板题: 可解决数据规模很大,但有递推公式的式子

#include 
using namespace std;
typedef long long ll;
const ll mod=1e9+7;
ll n,k;
struct Matrix
{
	static const int N=102;  //开设的矩阵
	ll a[N][N];
	Matrix(ll e=0)          //矩阵清0
	{
		for (int i=1;i            
关注
打赏
1664378814
查看更多评论
0.0418s