Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i=0;i<no_city;i++){
- for(int j=0;j<no_city;j++){
- int max=inf;
- new structure
- for(int k=0;k<s;k++){
- if(city[i]==src && city[j]==dest){
- if(max>fare[k])
- max=fare;
- tsructure =struct[k];
- }
- }
- mat[i][j]=fare;
- str
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement