Pls tell error in this code

Hey @Vaibhav277

    for (int k = 1; k <= V; k++){  
        for (int i = 1; i <= V; i++){  
            for (int j = 1; j <= V; j++) {   
              if(dis[i][k]==INT_MAX||dis[k][j]==INT_MAX)continue; //ADD THIS STATEMENT
              if (dis[i][k] + dis[k][j] < dis[i][j])  
                  dis[i][j] = dis[i][k] + dis[k][j];  
        }  
    }

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.