Borderou de evaluare (job #624757)

Utilizator avatar amalia_ghica Amalia Ghica amalia_ghica IP ascuns
Problemă Suprapuneri 1 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 ian. 2022 10:25:11 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 27 | for(l = 0; l < n; l++) | ^~~ main.c:30:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 30 | j = 0; | ^ main.c:11:33: warning: unused variable 'ok' [-Wunused-variable] 11 | int n, m, l, c, i, cnt = 0, ok = 2, j, nr; | ^~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf(fin, "%d", &s[0][l][c]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:29:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin , "%d" , &a[l][c]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 36 ms 245 kb Incorect 0
3 1 ms 241 kb OK 10
4 1 ms 245 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 249 kb Incorect 0
8 13 ms 249 kb Incorect 0
9 17 ms 245 kb Incorect 0
10 19 ms 249 kb Incorect 0
Punctaj total 10