Borderou de evaluare (job #759130)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Wind (clasa a 7-a) Compilator c-32
Rundă Tema 18 clasa a 7-a Status evaluat
Dată 29 ian. 2024 10:16:20 Scor 54

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:23: warning: unused variable 'x' [-Wunused-variable] 15 | int n,c,div = 1,i,x,co = 0,max,mintot,f,j,mintotz,macs; | ^ main.c:17:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d%d",&c,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:19:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:61:19: warning: 'macs' may be used uninitialized [-Wmaybe-uninitialized] 61 | vmax[vd[i]] = macs; | ~~~~~~~~~~~~^~~~~~ main.c:15:55: note: 'macs' was declared here 15 | int n,c,div = 1,i,x,co = 0,max,mintot,f,j,mintotz,macs; | ^~~~ main.c:71:7: warning: 'mintotz' may be used uninitialized [-Wmaybe-uninitialized] 71 | fprintf(fout,"%d %d",n/mintotz,vmax[mintotz]+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15:47: note: 'mintotz' was declared here 15 | int n,c,div = 1,i,x,co = 0,max,mintot,f,j,mintotz,macs; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p) 10
2 99 ms 503 kb OK 4
3 69 ms 770 kb OK 4
4 9 ms 245 kb OK 4
5 59 ms 512 kb OK 4
6 9 ms 245 kb OK 4
7 9 ms 249 kb a) incorect; b) incorect 0
8 1 ms 245 kb a) OK; b) incorect 3
9 19 ms 503 kb a) OK; b) incorect 3
10 1 ms 249 kb a) incorect; b) incorect 0
11 29 ms 512 kb OK 5
12 1 ms 245 kb OK 5
13 72 ms 765 kb a) incorect; b) incorect 0
14 49 ms 512 kb a) incorect; b) incorect 0
15 97 ms 512 kb Killed by Signal 8 0
16 89 ms 507 kb a) incorect; b) incorect 0
17 1 ms 241 kb OK 4
18 1 ms 245 kb a) incorect; b) OK 2
19 2 ms 241 kb a) incorect; b) OK 2
20 1 ms 245 kb a) incorect; b) incorect 0
21 1 ms 245 kb a) incorect; b) incorect 0
Punctaj total 54