SIR I AM NOT ABLE TO SOLVE THIS PLEASE GIVE ME CODE REFERENCE FOR THIS

SIR I AM NOT ABLE TO SOLVE THIS PLEASE GIVE ME CODE REFERENCE FOR THIS

@rupeshjha909 hey,here is code for reference:

sir cant we do like seq based on matrix exponentiation

@rupeshjha909 hey dont get your question.

can we do spp like problem seq

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.

SIR PLEASE CHECK MY CODE

AND CORRECT MY CODE WRITTEN

@rupeshjha909 hey corrected code:

SIR WHAT U ARE SENDING PLEASE SEE BOTH ARE MUCH DIFFERENT

@rupeshjha909 hey inner wale operations me bhi modulo use kro just like I didi in my code,I think your code is copied from somewhere ,please try it yourself.

@rupeshjha909 https://ide.codingblocks.com/s/78590

1 Like

please correct my code https://ide.codingblocks.com/s/239495

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.

please correct my code

@rupeshjha909 bro I have corrected it and send you code above please see to itt.