Borderou de evaluare (job #784279)

Utilizator avatar Costin_Pana Pana Costin Adrian Costin_Pana IP ascuns
Problemă Examen2 (clasa a 6-a) Compilator c-32
Rundă Precurs Tema 2 Clasa a 6-a Status evaluat
Dată 22 aug. 2024 00:27:25 Scor 92

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin,"%d%d%d%d",&cer,&m,&n,&e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:11:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:13:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d%d",&l,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:48:11: warning: 'nrb' may be used uninitialized [-Wmaybe-uninitialized] 48 | lb=cnrb/nrb; | ~~^~~~~~~~~ main.c:6:27: note: 'nrb' was declared here 6 | int cer,m,n,e,k,l,c,i,nrb,nrf,r,cnrb,cnrf,lf,lb; | ^~~ main.c:40:16: warning: 'nrf' may be used uninitialized [-Wmaybe-uninitialized] 40 | while(nrf>0){ | ~~~^~ main.c:6:31: note: 'nrf' was declared here 6 | int cer,m,n,e,k,l,c,i,nrb,nrf,r,cnrb,cnrf,lf,lb; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 266 kb Incorect 0
3 1 ms 507 kb Incorect 0
4 1 ms 245 kb OK 4
5 1 ms 245 kb OK 4
6 1 ms 266 kb OK 4
7 1 ms 245 kb OK 4
8 1 ms 245 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 245 kb OK 4
11 1 ms 245 kb OK 4
12 1 ms 245 kb OK 4
13 1 ms 245 kb OK 4
14 1 ms 245 kb OK 4
15 1 ms 266 kb OK 4
16 1 ms 245 kb OK 4
17 1 ms 245 kb OK 4
18 1 ms 245 kb OK 4
19 1 ms 245 kb OK 4
20 1 ms 245 kb OK 4
21 9 ms 249 kb OK 4
22 20 ms 245 kb OK 4
23 9 ms 249 kb OK 4
24 1 ms 266 kb OK 4
25 1 ms 245 kb OK 4
Punctaj total 92