Borderou de evaluare (job #847531)

Utilizator avatar Radu_Balas Radu Andrei Balas Radu_Balas IP ascuns
Problemă Galerie (clasa a 7-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 3 ian. 2026 13:45:57 Scor 49

Raport evaluator

Compilare: main.c: In function 'main': main.c:72:36: warning: array subscript has type 'char' [-Wchar-subscripts] 72 | pos[i][0]+=dirl[dir[i]]; | ~~~^~~ main.c:73:36: warning: array subscript has type 'char' [-Wchar-subscripts] 73 | pos[i][1]+=dirc[dir[i]]; | ~~~^~~ main.c:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 69 | for(i=0;i<t;i++) | ^~~ main.c:88:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 88 | s=0; | ^ main.c: In function 'Fill': main.c:16:1: warning: control reaches end of non-void function [-Wreturn-type] 16 | } | ^ main.c: In function 'main': main.c:22:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf(fin,"%d%d%d%d",&cer,&n,&m,&t); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin,"%d",&poz); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 508 kb Corect 7
2 0 ms 508 kb Corect 3
3 1 ms 508 kb Corect 7
4 0 ms 508 kb Corect 3
5 0 ms 292 kb Corect 7
6 0 ms 292 kb Incorect 0
7 1 ms 508 kb Corect 7
8 0 ms 292 kb Corect 3
9 0 ms 292 kb Incorect 0
10 1 ms 508 kb Corect 3
11 0 ms 292 kb Incorect 0
12 23 ms 508 kb Incorect 0
13 26 ms 3780 kb Incorect 0
14 17 ms 292 kb Incorect 0
15 19 ms 1788 kb Incorect 0
16 7 ms 508 kb Corect 3
17 8 ms 764 kb Incorect 0
18 13 ms 708 kb Corect 3
19 14 ms 804 kb Incorect 0
20 1 ms 508 kb Corect 3
Punctaj total 49