Borderou de evaluare (job #378130)

Utilizator avatar denidragomir Dragomir Denisa Elena denidragomir IP ascuns
Problemă Zuma (clasa a 5-a) Compilator c
Rundă Tema 37 clasa 5 Status evaluat
Dată 23 apr. 2018 21:53:20 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:13:5: warning: implicit declaration of function ‘fget’ [-Wimplicit-function-declaration] user.c:36:9: warning: passing argument 1 of ‘fputc’ makes integer from pointer without a cast [enabled by default] /usr/include/stdio.h:579:12: note: expected ‘int’ but argument is of type ‘struct FILE *’ user.c:36:9: warning: passing argument 2 of ‘fputc’ makes pointer from integer without a cast [enabled by default] /usr/include/stdio.h:579:12: note: expected ‘struct FILE *’ but argument is of type ‘char’ user.c:39:9: warning: passing argument 1 of ‘fputc’ makes integer from pointer without a cast [enabled by default] /usr/include/stdio.h:579:12: note: expected ‘int’ but argument is of type ‘struct FILE *’ user.c:39:9: warning: passing argument 2 of ‘fputc’ makes pointer from integer without a cast [enabled by default] /usr/include/stdio.h:579:12: note: expected ‘struct FILE *’ but argument is of type ‘char’ user.c:9:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:12:9: warning: ‘c’ is used uninitialized in this function [-Wuninitialized] user.c:35:3: warning: ‘m’ is used uninitialized in this function [-Wuninitialized] user.c:38:4: warning: ‘j’ is used uninitialized in this function [-Wuninitialized] /tmp/ccMKcY0u.o: In function `main': user.c:(.text.startup+0x5c): undefined reference to `fget' collect2: ld returned 1 exit status