void rfloyd(int a[50][50])
{ int k;
for(k=1;k<=n;k++)
for(i=1;i<=n;i++)
for(j=1;j<=n;j++)
if(i!=j && i!=k && j!=k)
a[i][j]=min(a[i][j],a[i][k]+a[k][j]);
print(a);
}
CCSuite - CC Monitoring, CC Reports and AliveCheck
CC Monitoring, CC Reports and AliveCheck Create together a powerful application, user friendly, that helps managing, monitoring ...
-
Chestia asta preia din orice tabela mai intai header-ul, apoi toate inregistrarile si le afiseaza intr-un tabel. Este foarte potrivita pe...
-
CC Monitoring, CC Reports and AliveCheck Create together a powerful application, user friendly, that helps managing, monitoring ...
-
Examen: // Sisteme inferior triunghiulare #include “stdio.h” #include “conio.h” float a[10][10],b[10],x[10]; int n,i,j; vo...