Where is error in my code?

PLease tell me the error in my code

Hey @Ferogle

ll computeMtxExp(ll n){

    if(n<=k){
			return 1;//updated this
    }

    vvl T(k,vll(k));
    T[0][0]=0;T[0][1]=1;T[1][0]=1;T[1][1]=1;


    T=fastMtxExp(T,n-1);

    ll res=0;
    for(int i=0;i<k;i++){
        res=(res+(T[0][i]*b[i])%MOD)%MOD;
    }

    return res;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.