Borderou de evaluare (job #91207)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Comune (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2014 09:05:51 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:3: error: conflicting types for ‘fin’
user.c:4:9: note: previous declaration of ‘fin’ was here
user.c:7:7: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:8:23: error: ‘n’ undeclared (first use in this function)
user.c:8:23: note: each undeclared identifier is reported only once for each function it appears in
user.c:8:3: 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:10:3: 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:4:15: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]