Borderou de evaluare (job #27981)

Utilizator avatar andreea_2002 7A Coman Andreea andreea_2002 IP ascuns
Problemă Pinochio (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 5 nov. 2013 10:33:04 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:6: error: expected expression before ‘<’ token user.c:8:6: error: stray ‘\’ in program user.c:8:6: error: stray ‘\’ in program user.c:9:1: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:9:1: error: too few arguments to function ‘fprintf’ user.c:10:15: error: expected expression before ‘[’ token user.c:10:15: error: stray ‘\’ in program user.c:10:16: error: ‘k’ undeclared (first use in this function) user.c:10:16: note: each undeclared identifier is reported only once for each function it appears in user.c:10:27: error: expected expression before ‘[’ token user.c:10:27: error: stray ‘\’ in program user.c:11:1: error: expected ‘)’ before ‘fprintf’ user.c:17:1: error: expected expression before ‘}’ token user.c:5:12: warning: unused variable ‘fout’ [-Wunused-variable] user.c:4:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] user.c:7:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:17:1: warning: control reaches end of non-void function [-Wreturn-type]