Pagini recente » Borderou de evaluare (job #2723511) | Borderou de evaluare (job #1325163) | Borderou de evaluare (job #1731501) | Borderou de evaluare (job #3174798) | Borderou de evaluare (job #2222263)
Borderou de evaluare (job #2222263)
Raport evaluator
Compilare:
user.cpp: In function ‘void roy_floyd(int, int (*)[100])’:
user.cpp:12:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(i!=j&&a[i][k]&&a[k][j]&&(a[i][j]>a[i][k]+a[k][j])||!a[i][j]&&i!=j) a[i][j]=a[i][k]+a[k][j];}
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:18:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,n,a[100][100];
^
user.cpp:18:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n,a[100][100];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | OK | 10 |
2 | 0ms | 1336kb | Incorect | 0 |
3 | 0ms | 1332kb | OK | 10 |
4 | 0ms | 1348kb | OK | 10 |
5 | 0ms | 1348kb | OK | 10 |
6 | 4ms | 1348kb | OK | 10 |
7 | 4ms | 1356kb | OK | 10 |
8 | 4ms | 1360kb | OK | 10 |
9 | 8ms | 1356kb | OK | 10 |
10 | 8ms | 1356kb | OK | 10 |
Punctaj total | 90 |