Borderou de evaluare (job #318842)

Utilizator avatar mircea_007 Mircea Rebengiuc mircea_007 IP ascuns
Problemă Balaur (clasa a 5-a) Compilator c
Rundă Tema 11 clasa 5 Status evaluat
Dată 25 oct. 2017 22:04:20 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8: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:8: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:8:3: warning: format not a string literal and no format arguments [-Wformat-security] user.c:11:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] user.c:11:8: warning: assignment from incompatible pointer type [enabled by default] user.c:14:3: error: expected ‘;’ before ‘return’ user.c:8:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]