Borderou de evaluare (job #1900462)

Utilizator vladi2000Stanciu Vlad Daniel vladi2000 Data 3 martie 2017 13:16:32
Problema Defrag Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:12:28: error: ‘a’ undeclared (first use in this function) fscanf(fin,"%d%d",&a,&b); ^ user.c:12:28: note: each undeclared identifier is reported only once for each function it appears in user.c:12:31: error: ‘b’ undeclared (first use in this function) fscanf(fin,"%d%d",&a,&b); ^ user.c:19:17: error: ‘j’ undeclared (first use in this function) for(j=1;j<361;j++) ^ user.c:20:21: error: subscripted value is neither array nor pointer nor vector if(v[i][j]){ ^ user.c:22:23: error: subscripted value is neither array nor pointer nor vector nr[i]++; ^ user.c:26:5: error: expected ‘}’ before ‘else’ else{ ^ user.c:32:9: error: expected expression before ‘}’ token } ^ user.c:6:16: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] FILE *fin,*fout; ^ user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d%d",&v,&p,&s,&c); ^

Ceva nu functioneaza?