Borderou de evaluare (job #203490)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Colecție (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 feb. 2016 10:08:43 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10: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 ‘char *’
user.c:10:5: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:449:12: note: expected ‘const char * __restrict__’ but argument is of type ‘int *’
user.c:11:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:11:20: error: expected ‘;’ before ‘)’ token
user.c:19:18: error: expected expression before ‘;’ token
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:16:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:21:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]