Borderou de evaluare (job #95337)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adunare | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 dec. 2014 18:39:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:7:1: error: unknown type name ‘File’
user.c:8:2: warning: assignment from incompatible pointer type [enabled by default]
user.c:10:1: 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:11:1: 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:1: error: unknown type name ‘File’
user.c:14:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘o’
user.c:17:9: error: ‘o’ undeclared (first use in this function)
user.c:17:9: note: each undeclared identifier is reported only once for each function it appears in
user.c:10:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:11:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]