Borderou de evaluare (job #2822951)

Utilizator MateiDorian123Nastase Matei MateiDorian123 Data 26 decembrie 2021 14:46:06
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void roy_floyd()': main.cpp:34:81: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 34 | if (d[i][j] > d[i][k] + d[k][j] || d[i][j] == d[i][k] + d[k][j] && nr[i][j] < nr[i][k] + nr[k][j]){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void print_matrix(int (*)[300])': main.cpp:46:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 46 | for(int j = 0; j < n; j ++) | ^~~ main.cpp:48:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 48 | fout << "\n"; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbOK5
22ms184kbOK5
32ms184kbOK5
42ms184kbOK5
56ms462kbOK5
66ms507kbOK5
720ms749kbOK5
820ms757kbOK5
921ms749kbOK5
1020ms749kbOK5
11103ms1495kbOK5
12102ms1519kbOK5
13107ms1552kbOK5
14102ms1527kbOK5
15103ms1527kbOK5
16103ms1519kbOK5
17103ms1527kbOK5
18108ms1560kbOK5
19103ms1544kbOK5
2093ms1409kbOK5
Punctaj total100

Ceva nu functioneaza?