Borderou de evaluare (job #85736)

Utilizator avatar Sabina0908 B Dorobantu Sabina Sabina0908 IP ascuns
Problemă Monotonă (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 8 nov. 2014 18:07:39 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:12:5: 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:12:5: warning: passing argument 2 of ‘fprintf’ from incompatible pointer type [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:17:11: 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:17:11: warning: passing argument 2 of ‘fprintf’ from incompatible pointer type [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’ user.c:28:4: error: expected ‘;’ before ‘return’ user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]