Borderou de evaluare (job #1552238)

Utilizator baban_bogdanbaban bogdan baban_bogdan Data 17 decembrie 2015 15:54:44
Problema Custi Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:14:25: error: ‘n’ undeclared (first use in this function) fscanf(fin, "%d" , &n); ^ user.c:14:25: note: each undeclared identifier is reported only once for each function it appears in user.c:15:5: error: ‘rez’ undeclared (first use in this function) rez=0; ^ user.c:16:9: error: ‘i’ undeclared (first use in this function) for(i=1;i<=n;i++){ ^ user.c:17:13: error: ‘j’ undeclared (first use in this function) for(j=1;j<=n;j++){ ^ user.c:18:33: error: ‘a’ undeclared (first use in this function) fscanf(fin, "%d" , &a[i][j] ); ^ user.c:20:17: error: ‘sus’ undeclared (first use in this function) sus[i][j] = 1 + sus[i-1][j]; ^ user.c:21:17: error: ‘st’ undeclared (first use in this function) st[i][j] = 1 + st[i][j-1]; ^ user.c:22:17: error: ‘d’ undeclared (first use in this function) d[i][j] = 1 + minim(d[i-1][j-1], sus[i-1][j], st[i][j-1]); ^ user.c:22:17: warning: implicit declaration of function ‘minim’ [-Wimplicit-function-declaration] user.c:23:17: error: ‘nr’ undeclared (first use in this function) nr[d[i][j]]++; ^ user.c:39:5: error: expected declaration or statement at end of input } ^ user.c:6:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] FILE *fin, *fout; ^

Ceva nu functioneaza?