Borderou de evaluare (job #815838)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Talent (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2025 15:47:17 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin,"%d",&nr); | ^~~~~~~~~~~~~~~~~~~~ main.c:34:24: warning: 'ndz' may be used uninitialized [-Wmaybe-uninitialized] 34 | if(cifd==1&&ndz!=0){ | ~~~^~~ main.c:9:56: note: 'ndz' was declared here 9 | int n,i,nr,cifd,sp,maxsp=0,j,final=0,max=0,cn,npdz,ndz; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 266 kb OK 10
3 1 ms 266 kb OK 10
4 1 ms 249 kb OK 10
5 1 ms 270 kb OK 10
6 1 ms 270 kb Incorect 0
7 1 ms 249 kb OK 10
8 9 ms 266 kb OK 10
9 9 ms 245 kb OK 10
10 9 ms 249 kb OK 10
Punctaj total 90