Borderou de evaluare (job #728913)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Iluminat Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 aug. 2023 00:49:17 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:17: warning: unused variable 't' [-Wunused-variable] 12 | int n,c,i,r,t,k,j,max = 0,x,y,max1=0; | ^ main.c:12:15: warning: unused variable 'r' [-Wunused-variable] 12 | int n,c,i,r,t,k,j,max = 0,x,y,max1=0; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf(fin,"%d%d%d",&c,&n,&k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:17:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf(fin,"%d",&a[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:27:50: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 27 | if(a[i][j] > max1 && i != x && j != y) | ~~^~~~ main.c:12:33: note: 'y' was declared here 12 | int n,c,i,r,t,k,j,max = 0,x,y,max1=0; | ^ main.c:27:40: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 27 | if(a[i][j] > max1 && i != x && j != y) | ~~^~~~ main.c:12:31: note: 'x' was declared here 12 | int n,c,i,r,t,k,j,max = 0,x,y,max1=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 9 ms 503 kb Incorect 0
3 1 ms 512 kb Incorect 0
4 499 ms 4182 kb Incorect 0
5 119 ms 2080 kb Incorect 0
6 509 ms 4177 kb Incorect 0
7 419 ms 3911 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 249 kb Incorect 0
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 249 kb Incorect 0
21 1 ms 249 kb Incorect 0
22 1 ms 249 kb Incorect 0
23 1 ms 249 kb Incorect 0
24 1 ms 249 kb Incorect 0
25 1 ms 249 kb Incorect 0
Punctaj total 0