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

*DDL_GzmBlog

暂无认证

  • 0浏览

    0关注

    605博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

[Acwing] 1304. 佳佳的斐波那契 推导矩阵 + 矩阵快速幂

*DDL_GzmBlog 发布时间:2022-04-05 13:37:47 ,浏览量:0

前言

传送门 :

思路

在这里插入图片描述

思路来自 : 彩色铅笔 ,

写的很好,我就不做什么补充了

Mycode
#include 
#include 

using namespace std;

typedef long long LL;

const int N = 4;

int n, m;

void mul(int a[][N], int b[][N], int c[][N]) {
    static int t[N][N];
    memset(t, 0, sizeof t);
    for (int i = 0; i             
关注
打赏
1657615554
查看更多评论
0.0405s