Borderou de evaluare (job #1484493)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 11 septembrie 2015 12:34:54
Problema Distante Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:22:12: error: ‘p’ undeclared (first use in this function) for(p=g[i];p;p=p->u) ^ user.c:22:12: note: each undeclared identifier is reported only once for each function it appears in user.c:10:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("distante.in","r",stdin),freopen("distante.out","w",stdout),scanf("%d",&t); ^ user.c:10:42: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("distante.in","r",stdin),freopen("distante.out","w",stdout),scanf("%d",&t); ^ user.c:10:75: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("distante.in","r",stdin),freopen("distante.out","w",stdout),scanf("%d",&t); ^ user.c:12:12: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] l=0,scanf("%d%d%d",&n,&m,&s); ^ user.c:14:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",d+i),f[i]=0; ^ user.c:16:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&i,&k,&c); ^

Ceva nu functioneaza?