Borderou de evaluare (job #2338336)

Utilizator mionelIon. M mionel Data 7 februarie 2019 12:28:14
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void Roy_Floyd()': main.cpp:26:26: error: 'inf' was not declared in this scope if( D[i][k]!=inf && D[k][j]!=inf && D[i][j]>D[i][k]+D[k][j]) ^~~ main.cpp: In function 'void Afisare()': main.cpp:32:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(j=1;j<=n;j++) ^~~ main.cpp:36:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' g<<'\n';} ^ Non zero exit status: 1

Ceva nu functioneaza?