Borderou de evaluare (job #495985)

Utilizator avatar Remus Rughinis Remus Remus IP ascuns
Problemă Hanoi (clasele 7-8) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 23 oct. 2019 19:50:26 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function 'mut': user.c:5:13: error: 'fout' undeclared (first use in this function) user.c:5:13: note: each undeclared identifier is reported only once for each function it appears in user.c: In function 'main': user.c:14:3: error: unknown type name 'file' user.c:15:6: warning: assignment from incompatible pointer type [enabled by default] user.c:16: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 'int *' user.c:17:3: warning: passing argument 1 of 'fclose' from incompatible pointer type [enabled by default] /usr/include/stdio.h:238:12: note: expected 'struct FILE *' but argument is of type 'int *' user.c:18:7: warning: assignment from incompatible pointer type [enabled by default] user.c:20:3: warning: passing argument 1 of 'fclose' from incompatible pointer type [enabled by default] /usr/include/stdio.h:238:12: note: expected 'struct FILE *' but argument is of type 'int *' user.c:16:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]