Borderou de evaluare (job #82260)

Utilizator avatar AnaCirligeanu B Cirligeanu Ana AnaCirligeanu IP ascuns
Problemă La școală (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 28 oct. 2014 10:22:08 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:6:4: error: ‘fin’ undeclared (first use in this function) user.c:6:4: note: each undeclared identifier is reported only once for each function it appears in user.c:12:4: error: ‘fout’ undeclared (first use in this function) user.c:13:4: 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:13:4: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [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:13:4: warning: format not a string literal and no format arguments [-Wformat-security] user.c:14:4: error: expected ‘;’ before ‘while’ user.c:5:18: warning: variable ‘cck’ set but not used [-Wunused-but-set-variable] user.c:5:13: warning: unused variable ‘y’ [-Wunused-variable]