Borderou de evaluare (job #1654905)

Utilizator madapatMadalina Patrichi madapat Data 17 martie 2016 16:32:28
Problema Factorial Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:19:7: error: expected ‘(’ before ‘nr0’ if nr0==0: ^ user.c:19:7: warning: statement with no effect [-Wunused-value] user.c:15:13: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] FILE *f,*g; ^ user.c:14:22: warning: unused variable ‘i’ [-Wunused-variable] int a = 0, b = 0, i = 1, nr0; ^ user.c:14:15: warning: unused variable ‘b’ [-Wunused-variable] int a = 0, b = 0, i = 1, nr0; ^ user.c:14:8: warning: unused variable ‘a’ [-Wunused-variable] int a = 0, b = 0, i = 1, nr0; ^ user.c:18:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d", &nr0); ^

Ceva nu functioneaza?