Borderou de evaluare (job #92008)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cangur (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 nov. 2014 11:43:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:15:9: error: incompatible types when assigning to type ‘FILE’ from type ‘struct FILE *’
user.c:16:5: error: incompatible type for argument 1 of ‘fprintf’
/usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’
user.c:17:5: error: incompatible type for argument 1 of ‘fclose’
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’
user.c:7:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]