Borderou de evaluare (job #811183)

Utilizator avatar TudorMit Mituca Tudor-Ionut TudorMit IP ascuns
Problemă Grad1 (clasa a 6-a) Compilator c-32
Rundă Tema 30 Clasa a 6-a Status evaluat
Dată 23 feb. 2025 16:45:34 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:27:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin,"%d%d",&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:29:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin,"%d",&vo[i]); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:37:5: warning: 'maxi' may be used uninitialized [-Wmaybe-uninitialized] 37 | fprintf(fout,"%d\n%d\n%d",grad(0,n-1),maxi+1,max); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:25:20: note: 'maxi' was declared here 25 | int n,k,max=-1,maxi,i; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 249 kb OK 10
3 9 ms 249 kb OK 10
4 59 ms 249 kb OK 10
5 389 ms 249 kb OK 10
6 639 ms 249 kb OK 10
7 770 ms 507 kb OK 10
8 659 ms 507 kb OK 10
9 867 ms 249 kb OK 10
10 649 ms 532 kb OK 10
Punctaj total 100