Borderou de evaluare (job #28085)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Poziții (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 nov. 2013 19:47:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8: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 ‘char *’
user.c:8:1: error: too few arguments to function ‘fscanf’
user.c:9:1: error: ‘else’ without a previous ‘if’
user.c:10:1: warning: implicit declaration of function ‘frintf’ [-Wimplicit-function-declaration]
user.c:13:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat]
user.c:6:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]