Borderou de evaluare (job #2658963)

Utilizator Iulia25Hosu Iulia Iulia25 Data 15 octombrie 2020 16:47:21
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:23:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(a[i][k]+a[k][j]<a[i][j] || a[i][j] == 0 && i != j) a[i][j]=a[i][k]+a[k][j]; ~~~~~~~~~~~~~^~~~~~~~~ main.cpp:26:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j=1;j<=n;j++) ^~~ main.cpp:28:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout<<'\n'; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
23ms131kbOK10
33ms131kbOK10
44ms131kbOK10
54ms131kbOK10
65ms131kbOK10
77ms131kbOK10
88ms131kbOK10
910ms262kbOK10
1012ms262kbOK10
Punctaj total100

Ceva nu functioneaza?