Borderou de evaluare (job #1413470)

Utilizator unimadaraUNIBUC sulzandrei alexandru.ghergut Yusuke unimadara Data 1 aprilie 2015 21:38:51
Problema Drumuri3 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘inmultire’: user.c:9:9: warning: unused variable ‘sum’ [-Wunused-variable] int sum,i,j,k; ^ user.c: In function ‘Add’: user.c:25:33: error: ‘MOD’ undeclared (first use in this function) a[i][j]=(a[i][j]+b[i][j])%MOD; ^ user.c:25:33: note: each undeclared identifier is reported only once for each function it appears in user.c: In function ‘Mult’: user.c:40:10: error: ‘aux’ undeclared (first use in this function) aux[i][j]=0; ^ user.c:42:49: error: ‘MOD’ undeclared (first use in this function) aux[i][j]=(aux[i][j]+a[i][k]*b[k][j])%MOD; ^ user.c: In function ‘solve’: user.c:49:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (k !=1) ^ user.c: In function ‘main’: user.c:83:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d %d",&n,&m,&k,&q); ^ user.c:95:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&x,&y); ^ user.c:108:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d",&x,&y); ^

Ceva nu functioneaza?