Borderou de evaluare (job #350321)

Utilizator avatar AndreeaDinu Dinu Andreea Irina AndreeaDinu IP ascuns
Problemă Numchar (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 8 feb. 2018 18:44:09 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:7:5: error: too few arguments to function ‘fopen’ /usr/include/stdio.h:273:14: note: declared here user.c:8:5: error: too few arguments to function ‘fopen’ /usr/include/stdio.h:273:14: note: declared here user.c:29:5: error: incompatible type for argument 1 of ‘fprintf’ /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘FILE’ user.c:31:5: error: incompatible type for argument 1 of ‘fclose’ /usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘FILE’ user.c:13:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]