Borderou de evaluare (job #27959)

Utilizator avatar StefanPitur Stefan Pitur StefanPitur IP ascuns
Problemă Pinochio (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 5 nov. 2013 08:59:34 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:9:25: error: invalid operands to binary & (have ‘int *’ and ‘int’) user.c:18:9: error: expected ‘}’ before ‘else’ user.c:23:17: error: expected ‘}’ before ‘else’ user.c:6:13: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] user.c:5:17: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:29:5: error: expected identifier or ‘(’ before ‘}’ token user.c:31:5: warning: data definition has no type or storage class [enabled by default] user.c:31:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:31:10: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:31:5: error: initializer element is not constant user.c:32:18: error: expected ‘)’ before string constant user.c:33:5: error: expected identifier or ‘(’ before ‘return’ user.c:34:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:28:9: warning: control reaches end of non-void function [-Wreturn-type]