Borderou de evaluare (job #320960)

Utilizator avatar daria_alexandra daria alexandra stoian daria_alexandra IP ascuns
Problemă Cangur (clasa a 5-a) Compilator c
Rundă temas7_5 Status evaluat
Dată 4 nov. 2017 11:43:39 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:14:9: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * __restrict__’ but argument is of type ‘char *’ user.c:14:9: warning: null argument where non-null required (argument 2) [-Wnonnull] user.c:19:5: error: expected ‘;’ before ‘return’ user.c:6:12: warning: unused variable ‘k’ [-Wunused-variable] user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:10:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:20:1: warning: control reaches end of non-void function [-Wreturn-type]