Borderou de evaluare (job #822533)

Utilizator avatar Roby2206 Staicu Robert Roby2206 IP ascuns
Problemă Zar1 (clasa a 7-a) Compilator c-32
Rundă balas.vs.staicu7 Status evaluat
Dată 5 mai 2025 12:13:26 Scor 90

Raport evaluator

Compilare: main.c: In function 'main': main.c:6:31: warning: unused variable 'cnt' [-Wunused-variable] 6 | int n,k,x,y,z,dr,jos,sp,c,cnt=0,i,c1,c2,c3,c4,c5,c6; | ^~~ 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%d",&n,&k,&x,&y,&z); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:28:11: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 28 | if(c=='N'){ | ^ main.c:6:29: note: 'c' was declared here 6 | int n,k,x,y,z,dr,jos,sp,c,cnt=0,i,c1,c2,c3,c4,c5,c6; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 507 kb OK 10
Punctaj total 90