Borderou de evaluare (job #2764198)

Utilizator helloworld0107Iordachi Bianca helloworld0107 Data 19 iulie 2021 19:52:52
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int j = 1; j <= n; j++) ^~~ main.c:28:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' printf("%d ", a[i][j]); printf("\n"); ^~~~~~ main.c:7:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("royfloyd.in","r",stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:8:2: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("royfloyd.out","w",stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:10:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^~~~~~~~~~~~~~~ main.c:15:7: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
33ms131kbIncorect0
43ms131kbOK10
54ms131kbIncorect0
65ms131kbOK10
76ms131kbOK10
88ms131kbIncorect0
99ms131kbIncorect0
1011ms131kbOK10
Punctaj total50

Ceva nu functioneaza?