Borderou de evaluare (job #813289)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Tablou (clasa a 6-a) Compilator c-32
Rundă Tema 32 Clasa a 6-a Status evaluat
Dată 8 mar. 2025 18:30:29 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:23:15: warning: unused variable 'min' [-Wunused-variable] 23 | int gat=1,min=2000000001,nbz,max=-1,lmax,pp,ni=0; | ^~~ main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | fscanf(fin,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fscanf(fin,"%d",&mat[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:55:24: warning: 'lmax' may be used uninitialized [-Wmaybe-uninitialized] 55 | while(mat[lmax][i]%2!=0&&i<n) | ~~~~~~~~~^~~ main.c:23:41: note: 'lmax' was declared here 23 | int gat=1,min=2000000001,nbz,max=-1,lmax,pp,ni=0; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 2 ms 135 kb OK 10
3 1 ms 266 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb Incorect 0
7 1 ms 147 kb Incorect 0
8 1 ms 245 kb OK 10
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb OK 10
Punctaj total 60