Borderou de evaluare (job #230070)

Utilizator avatar harry Harry Girlea harry IP ascuns
Problemă Siruri1 (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 2 apr. 2016 10:19:51 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:9:5: error: conflicting types for ‘fin’ user.c:7:11: note: previous declaration of ‘fin’ was here user.c:9:11: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:12:9: warning: passing argument 1 of ‘fscanf’ makes pointer from integer without a cast [enabled by default] /usr/include/stdio.h:449:12: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘int’ user.c:16:9: error: ‘j’ undeclared (first use in this function) user.c:16:9: note: each undeclared identifier is reported only once for each function it appears in user.c:17:23: error: expected ‘]’ before ‘)’ token user.c:18:15: error: ‘aux’ undeclared (first use in this function) user.c:31:5: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [enabled by default] /usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘int’ user.c:12:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]