Borderou de evaluare (job #27982)

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:37:48 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:14: error: expected expression before ‘[’ token user.c:10:14: error: stray ‘\’ in program user.c:10:15: error: ‘k’ undeclared (first use in this function) user.c:10:15: note: each undeclared identifier is reported only once for each function it appears in user.c:10:24: error: expected expression before ‘[’ token user.c:10:24: error: stray ‘\’ in program user.c:11: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:11:1: error: too few arguments to function ‘fprintf’ user.c:12:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat] 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]