Borderou de evaluare (job #2380135)

Utilizator GabyD002Dobrita Gabriel GabyD002 Data 14 martie 2019 16:34:18
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a[k][j] && a[i][k] && (a[k][j]+a[i][k]<a[i][j] || i!=j && !a[i][j])) a[i][j]=a[k][j]+a[i][k]; ~~~~~^~~~~~~~~~~ main.cpp:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int k=1; k<=n; k++) ^~~ main.cpp:16:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(int i=1; i<=n; i++) ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
33ms131kbOK10
43ms131kbOK10
54ms131kbOK10
65ms131kbOK10
77ms131kbOK10
88ms131kbOK10
910ms262kbOK10
1012ms262kbOK10
Punctaj total100

Ceva nu functioneaza?