Borderou de evaluare (job #2339566)

Utilizator Anca.ioanaMuscalagiu Anca Ioana Anca.ioana Data 9 februarie 2019 09:47:09
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:27:50: error: 'inf' was not declared in this scope if(D[i][j]>D[i][k]+D[k][j]&&D[i][k]!=inf&&D[l][j]!=inf) ^~~ main.cpp:27:57: error: 'l' was not declared in this scope if(D[i][j]>D[i][k]+D[k][j]&&D[i][k]!=inf&&D[l][j]!=inf) ^ main.cpp: In function 'void Afisare()': main.cpp:33:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] {for(j=1;j<=n;j++) ^~~ main.cpp:37: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?