Borderou de evaluare (job #65611)

Utilizator avatar AlexandraMaftei Alexandra Maftei AlexandraMaftei IP ascuns
Problemă Palindrom1 (clasa a 6-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 29 mar. 2014 14:39:28 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:4:5: error: ‘FIL’ undeclared (first use in this function) user.c:4:5: note: each undeclared identifier is reported only once for each function it appears in user.c:4:9: error: unknown type name ‘E’ user.c:7:8: warning: assignment from incompatible pointer type [enabled by default] user.c:8:22: error: ‘nr’ undeclared (first use in this function) user.c:8:5: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int *’ user.c:10:5: error: ‘maxim’ undeclared (first use in this function) user.c:12:9: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int *’ user.c:13:9: error: ‘v’ undeclared (first use in this function) user.c:16:9: error: ‘i’ undeclared (first use in this function) user.c:22:9: error: expected expression at end of input user.c:22:9: error: expected declaration or statement at end of input user.c:22:9: error: expected declaration or statement at end of input user.c:4:17: warning: unused variable ‘fout’ [-Wunused-variable] user.c:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:22:9: warning: control reaches end of non-void function [-Wreturn-type]