Borderou de evaluare (job #761187)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Alee (clasa a 10-a) Compilator c-32
Rundă Tema 20 clasa a 7-a Status evaluat
Dată 10 feb. 2024 15:55:07 Scor 81

Raport evaluator

Compilare: main.c: In function 'main': main.c:28:45: warning: unused variable 'j' [-Wunused-variable] 28 | int x,n,y,x1,y1,x2,y2,m,i,s = 1,l,c,p,dir,j; | ^ main.c:29:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin,"%d%d",&m,&n); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:38:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin,"%d%d",&x,&y); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:42:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | fscanf(fin,"%d%d%d%d",&x1,&y1,&x2,&y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:45:18: warning: 'l' may be used uninitialized [-Wmaybe-uninitialized] 45 | while(st != fn && (l != x2 || c != y2)){ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.c:28:35: note: 'l' was declared here 28 | int x,n,y,x1,y1,x2,y2,m,i,s = 1,l,c,p,dir,j; | ^ main.c:45:30: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 45 | while(st != fn && (l != x2 || c != y2)){ | ~~~~~~~~~^~~~~~~~~~~ main.c:28:37: note: 'c' was declared here 28 | int x,n,y,x1,y1,x2,y2,m,i,s = 1,l,c,p,dir,j; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 249 kb OK 10
7 9 ms 249 kb OK 10
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Penalizare: 10% (pentru 2 submisie/ii) 10%
Punctaj total 81