Borderou de evaluare (job #769734)

Utilizator avatar David_Popa123 Nerdvana 9 Popa David David_Popa123 IP ascuns
Problemă Rucsac Compilator c-32
Rundă Tema 26 clasa a 7-a Status evaluat
Dată 23 mar. 2024 21:43:13 Scor 9

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 21 | for( j = 0; j <= k; j++ ) | ^~~ main.c:23:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 23 | if( i == 0 && j > 0 ) | ^~ main.c:15:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%d%d", &n, &k ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf( fin, "%d", &v[i] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:23:15: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 23 | if( i == 0 && j > 0 ) | ^ main.c:11:18: note: 'j' was declared here 11 | int n, i, k, j, l; | ^ main.c:24:25: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 24 | a[l][j] = 0; | ~~~~~~~~^~~ main.c:11:21: note: 'l' was declared here 11 | int n, i, k, j, l; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 507 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Penalizare: 5% (pentru 1 submisie/ii) 5%
Punctaj total 9