Borderou de evaluare (job #482532)

Utilizator avatar cipri05 Cristescu Ciprian cipri05 IP ascuns
Problemă Plaja 1 (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 31 iul. 2019 16:25:25 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:11: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:11: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:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:15:9: 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:15:9: 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:15:9: warning: format not a string literal and no format arguments [-Wformat-security] user.c:27:5: warning: implicit declaration of function 'fprinf' [-Wimplicit-function-declaration] user.c:6:16: warning: variable 'fout' set but not used [-Wunused-but-set-variable] user.c:6:11: warning: variable 'fin' set but not used [-Wunused-but-set-variable] user.c:10:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:11:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:15:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:27:11: warning: 'y' may be used uninitialized in this function [-Wuninitialized] /tmp/cc8iuaS8.o: In function `main': user.c:(.text.startup+0xd2): undefined reference to `fprinf' collect2: ld returned 1 exit status