Borderou de evaluare (job #1472458)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 17 august 2015 07:54:24
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:19:16: error: ‘u’ undeclared (first use in this function) if(u[g[j][i]]>n) ^ user.c:19:16: note: each undeclared identifier is reported only once for each function it appears in user.c:18:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(!v[g[j][i]]) ^ user.c:5:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("bellmanford.in","r",stdin),freopen("bellmanford.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:5:45: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("bellmanford.in","r",stdin),freopen("bellmanford.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:5:81: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("bellmanford.in","r",stdin),freopen("bellmanford.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:9:12: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&a[i],&b[i],&c[i]),w[a[i]]++; ^

Ceva nu functioneaza?