Borderou de evaluare (job #1584908)

Utilizator ReksioCroftOctavian Florin Staicu ReksioCroft Data 30 ianuarie 2016 16:35:41
Problema Padure Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘fill’: user.c:8:15: error: ‘element’ undeclared (first use in this function) q[++u] = (element){lin,col}; ^ user.c:8:15: note: each undeclared identifier is reported only once for each function it appears in user.c:8:23: error: expected ‘;’ before ‘{’ token q[++u] = (element){lin,col}; ^ user.c:15:21: warning: comparison between pointer and integer [enabled by default] if(c[lin][col-1]==a && a[lin][col-1]==a[lin][col]) ^ user.c: In function ‘main’: user.c:44:9: error: ‘x’ undeclared (first use in this function) x = q[p].lin; ^ user.c:45:9: error: ‘y’ undeclared (first use in this function) y = q[p].col; ^ user.c:47:13: error: ‘d’ undeclared (first use in this function) for(d=0; d<4; d++){ ^ user.c:48:13: error: ‘xx’ undeclared (first use in this function) xx = x + dx[d]; ^ user.c:48:22: error: ‘dx’ undeclared (first use in this function) xx = x + dx[d]; ^ user.c:49:13: error: ‘yy’ undeclared (first use in this function) yy = y+ dy[d]; ^ user.c:49:21: error: ‘dy’ undeclared (first use in this function) yy = y+ dy[d]; ^ user.c:29:16: warning: unused variable ‘fout’ [-Wunused-variable] FILE *fin,*fout; ^ user.c:31:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d%d%d%d%d", &m, &n, &pl, &pc, &cl, &cc); ^ user.c:34:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i][j]); ^

Ceva nu functioneaza?