Borderou de evaluare (job #4580)

Utilizator avatar catrinescu Catrinescu Alexandru catrinescu IP ascuns
Problemă Economii Compilator c
Rundă Olimpiada pe Scoala 2012, Clasa a 5-a Status evaluat
Dată 19 dec. 2012 13:58:00 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:6:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token user.c:6:15: error: ‘economii’ undeclared (first use in this function) user.c:6:15: note: each undeclared identifier is reported only once for each function it appears in user.c:7:5: error: expected ‘;’ before ‘printf’ user.c:15:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token user.c:16:5: error: expected ‘;’ before ‘do’ user.c:5:21: warning: variable ‘z’ set but not used [-Wunused-but-set-variable] user.c:5:19: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] user.c:5:17: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] user.c:5:15: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] user.c:8:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:10:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]