Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2658963)
| Utilizator | 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 |
|---|---|---|---|---|
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 4ms | 131kb | OK | 10 |
| 5 | 4ms | 131kb | OK | 10 |
| 6 | 5ms | 131kb | OK | 10 |
| 7 | 7ms | 131kb | OK | 10 |
| 8 | 8ms | 131kb | OK | 10 |
| 9 | 10ms | 262kb | OK | 10 |
| 10 | 12ms | 262kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
