Borderou de evaluare (job #760132)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Forma (clasa a 8-a) Compilator c-32
Rundă Tema 19 Clasa a 7-a Status evaluat
Dată 3 feb. 2024 21:40:57 Scor 46

Raport evaluator

Compilare: main.c: In function 'main': main.c:50:18: warning: variable 'ulnr' set but not used [-Wunused-but-set-variable] 50 | int n,i,b,s,nr,ulnr,j,s1,max = 0; | ^~~~ main.c:63:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fscanf(fin,"%d\n",&n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:86:12: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 86 | v[i] = nr; | ~~~~~^~~~ main.c:50:15: note: 'nr' was declared here 50 | int n,i,b,s,nr,ulnr,j,s1,max = 0; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb a) corect b) gresit 4
2 1 ms 245 kb a) corect b) gresit 4
3 1 ms 245 kb a) corect b) gresit 4
4 2 ms 245 kb a) corect b) gresit 4
5 1 ms 245 kb a) corect b) gresit 4
6 1 ms 245 kb a) corect b) gresit 4
7 2 ms 245 kb Raspuns corect! 10
8 1 ms 249 kb a) corect b) gresit 4
9 1 ms 245 kb a) corect b) gresit 4
10 1 ms 249 kb a) corect b) gresit 4
Punctaj total 46