Borderou de evaluare (job #34123)

Utilizator avatar pirlogiulia Pirlog Iulia Diana Elena pirlogiulia IP ascuns
Problemă Gardul (clasa a 6-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 4 dec. 2013 12:23:08 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:6:9: error: expected identifier or ‘(’ before ‘=’ token user.c:8:4: error: ‘fin’ undeclared (first use in this function) user.c:8:4: note: each undeclared identifier is reported only once for each function it appears in user.c:14:4: error: ‘fout’ undeclared (first use in this function) user.c:14:4: error: too few arguments to function ‘fopen’ /usr/include/stdio.h:273:14: note: declared here user.c:17:15: warning: operation on ‘A’ may be undefined [-Wsequence-point] user.c:27: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:27:4: 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:29:4: error: ‘returm’ undeclared (first use in this function) user.c:29:11: error: expected ‘;’ before numeric constant user.c:30:1: warning: control reaches end of non-void function [-Wreturn-type]