Borderou de evaluare (job #131592)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Speciale (clasa a 5-a) | Compilator | c |
Rundă | Tema 28 clasa a 5-a | Status | evaluat |
Dată | 10 mar. 2015 12:11:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:5: error: conflicting types for ‘fin’
user.c:4:11: note: previous declaration of ‘fin’ was here
user.c:7:9: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:9:25: error: ‘p’ undeclared (first use in this function)
user.c:9:25: note: each undeclared identifier is reported only once for each function it appears in
user.c:9:5: 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:34: error: ‘k’ undeclared (first use in this function)
user.c:10:38: error: ‘n’ undeclared (first use in this function)
user.c:10:42: error: ‘a’ undeclared (first use in this function)
user.c:10:46: error: ‘b’ undeclared (first use in this function)
user.c:10:5: 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:12:9: error: ‘cf’ undeclared (first use in this function)
user.c:20: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’