Borderou de evaluare (job #28128)

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 22:22:53 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:10:1: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’ user.c:10:1: error: too few arguments to function ‘fprintf’ user.c:13:16: error: expected expression before ‘,’ token user.c:16:1: error: expected declaration or statement at end of input user.c:6:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:8:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:16:1: warning: control reaches end of non-void function [-Wreturn-type]