Borderou de evaluare (job #505043)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Mulţimi (clasa a 5-a) | Compilator | c |
Rundă | Tema 13 clasa 5 | Status | evaluat |
Dată | 21 nov. 2019 21:31:21 | 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:10:5: warning: format not a string literal and no format arguments [-Wformat-security]
user.c:22:5: error: expected '(' before 'fclose'
user.c:7:25: warning: variable 'cf' set but not used [-Wunused-but-set-variable]
user.c:7:15: warning: variable 'cn' set but not used [-Wunused-but-set-variable]
user.c:7:12: warning: unused variable 'i' [-Wunused-variable]
user.c:6:11: warning: variable 'fin' set but not used [-Wunused-but-set-variable]
user.c:10:12: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]