Borderou de evaluare (job #797625)

Utilizator avatar TudorMit Mituca Tudor-Ionut TudorMit IP ascuns
Problemă Bila1 (baraj gimnaziu) Compilator c-32
Rundă Tema 17 Clasa a 6-a Status evaluat
Dată 24 nov. 2024 19:12:04 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:40:28: warning: array subscript has type 'char' [-Wchar-subscripts] 40 | lin+=dlin[v[t-y]]; | ~^~~~~ main.c:41:28: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | col+=dcol[v[t-y]]; | ~^~~~~ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | 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",&mat[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:32:30: warning: array subscript 4 is above array bounds of 'char[4]' [-Warray-bounds=] 32 | lin+=dlin[d]; | ~~~~^~~ main.c:5:15: note: while referencing 'dlin' 5 | char v[64999],dlin[4]={-1,0,1,0},dcol[4]={0,1,0,-1}; | ^~~~ main.c:33:30: warning: array subscript 4 is above array bounds of 'char[4]' [-Warray-bounds=] 33 | col+=dcol[d]; | ~~~~^~~ main.c:5:34: note: while referencing 'dcol' 5 | char v[64999],dlin[4]={-1,0,1,0},dcol[4]={0,1,0,-1}; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 507 kb Incorect 0
4 1 ms 266 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 19 ms 249 kb Killed by Signal 11 0
7 29 ms 249 kb Killed by Signal 11 0
8 19 ms 249 kb Killed by Signal 11 0
9 29 ms 245 kb Killed by Signal 11 0
10 29 ms 249 kb Killed by Signal 11 0
Punctaj total 0