Borderou de evaluare (job #698675)

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:48:40 Scor 70

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]); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:50:16: warning: iteration 12998 invokes undefined behavior [-Waggressive-loop-optimizations] 50 | if(m[1][i]-m[0][i] > max2) | ~~~~^~~ main.c:49:22: note: within this loop 49 | for(i = 2; i <= 13000;i++){ | ~~^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb a) OK; b) OK; c) rezultat incorect 7
2 8 ms 245 kb a) OK; b) OK; c) rezultat incorect 7
3 7 ms 245 kb a) OK; b) OK; c) rezultat incorect 7
4 1 ms 118 kb a) OK; b) OK; c) rezultat incorect 7
5 1 ms 114 kb a) OK; b) OK; c) rezultat incorect 7
6 1 ms 249 kb a) OK; b) OK; c) rezultat incorect 7
7 1 ms 118 kb a) OK; b) OK; c) rezultat incorect 7
8 1 ms 245 kb a) OK; b) OK; c) rezultat incorect 7
9 1 ms 245 kb a) OK; b) OK; c) rezultat incorect 7
10 22 ms 237 kb a) OK; b) OK; c) rezultat incorect 7
Punctaj total 70