Borderou de evaluare (job #2054201)

Utilizator NToniBoSSNicolae Tonitza NToniBoSS Data 1 noiembrie 2017 19:38:00
Problema Stergeri Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:12:5: error: ‘rez’ undeclared (first use in this function) rez=r; ^ user.c:12:5: note: each undeclared identifier is reported only once for each function it appears in user.c:6:29: warning: unused variable ‘j’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:6:26: warning: unused variable ‘y2’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:6:23: warning: unused variable ‘x2’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:6:20: warning: unused variable ‘y1’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:6:17: warning: unused variable ‘x1’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:6:11: warning: unused variable ‘m’ [-Wunused-variable] int n,m,k,i,x1,y1,x2,y2,j,r; ^ user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("stergeri.in","r",stdin); ^ user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("stergeri.out","w",stdout); ^ user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&r); ^ user.c:11:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x[i],&y[i]); ^

Ceva nu functioneaza?