Borderou de evaluare (job #698672)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Cartier (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 24 feb. 2023 10:36:44 Scor 97

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:56: warning: unused variable 'ok' [-Wunused-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^~ main.c:13:40: warning: variable 'n2' set but not used [-Wunused-but-set-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^~ main.c:13:38: warning: unused variable 'b' [-Wunused-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^ main.c:13:36: warning: unused variable 'a' [-Wunused-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^ main.c:13:34: warning: unused variable 'r' [-Wunused-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^ main.c:13:18: warning: unused variable 's' [-Wunused-variable] 13 | int n,i,i2,j,s,max2 = 0,s2=0,r,a,b,n2,max=0,s3 = 0,ok,j2; | ^ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb a) OK; b) OK; c) rezultat incorect 7
2 12 ms 241 kb OK 10
3 1 ms 118 kb OK 10
4 1 ms 118 kb OK 10
5 1 ms 118 kb OK 10
6 1 ms 249 kb OK 10
7 1 ms 118 kb OK 10
8 1 ms 249 kb OK 10
9 1 ms 249 kb OK 10
10 19 ms 245 kb OK 10
Punctaj total 97