Borderou de evaluare (job #1486616)

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

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:17:14: error: ‘new’ undeclared (first use in this function) a[j]=new int[g[j]]; ^ user.c:17:14: note: each undeclared identifier is reported only once for each function it appears in user.c:17:18: error: expected ‘;’ before ‘int’ a[j]=new int[g[j]]; ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in","r",stdin),freopen("graf.out","w",stdout),scanf("%d%d%d%d",&n,&m,&x,&y); ^ user.c:13:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in","r",stdin),freopen("graf.out","w",stdout),scanf("%d%d%d%d",&n,&m,&x,&y); ^ user.c:13:70: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in","r",stdin),freopen("graf.out","w",stdout),scanf("%d%d%d%d",&n,&m,&x,&y); ^ user.c:15:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",b+i,c+i),g[c[i]]++,g[b[i]]++; ^

Ceva nu functioneaza?