Borderou de evaluare (job #392037)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere5 (clasele 5-8) | Compilator | c |
Rundă | Tema 2 clasa 6 | Status | evaluat |
Dată | 2 oct. 2018 21:48:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:3: 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:9:3: 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:10:3: error: ‘r’ undeclared (first use in this function)
user.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
user.c:11:3: error: ‘c’ undeclared (first use in this function)
user.c:14:3: error: expected ‘;’ before ‘}’ token
user.c:9:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]