Please check the errors in program :(
Hello @Muskan-Gupta-598128740703036,
The compilee time error you are getting is due to the syntax error:
vector<vector<ll>> multiply(vector<vector<ll> A,vector<vector<ll>> B){
Correction:
vector<vector<ll>> multiply(vector<vector<ll>> A,vector<vector<ll>> B){
sir i have corrected it
still runtime error is showing
Hello @Muskan-Gupta-598128740703036,
The posiible reason of runtime error is the out of bound access:
// for(ll i=1;i<=3;i++){
// for(ll j=1;i<=3;j++){
// for(ll k=1;k<=3;k++){
Correction:
for(ll i=0;i<3;i++){
for(ll j=0;i<3;j++){
for(ll k=0;k<3;k++){
Also, Please check the logic you have applied for fast power.
Please refer to this link.
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.