Borderou de evaluare (job #21385)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adunare | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 aug. 2013 10:06:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function 'main':
user.c:9:6: error: incompatible types when assigning to type 'FILE' from type 'struct FILE *'
user.c:10:5: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long int' [-Wformat]
user.c:10:5: warning: format '%ld' expects argument of type 'long int *', but argument 4 has type 'long int' [-Wformat]
user.c:11: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:10:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]