Borderou de evaluare (job #100785)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 28 dec. 2014 23:25:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:6:5: error: unknown type name ‘File’
user.c:7:8: warning: assignment from incompatible pointer type [enabled by default]
user.c:9: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:37:13: warning: assignment from incompatible pointer type [enabled by default]
user.c:40:13: 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 ‘int *’
user.c:45:9: 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 ‘int *’
user.c:46:5: warning: passing argument 1 of ‘fclose’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘int *’
user.c:47:5: warning: passing argument 1 of ‘fclose’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘int *’
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]