Borderou de evaluare (job #28090)

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

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8: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:8:1: error: too few arguments to function ‘fprintf’ user.c:10: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:10:1: error: too few arguments to function ‘fprintf’ user.c:13:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat] user.c:6:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]