Borderou de evaluare (job #34035)

Utilizator avatar mateicos matei costescu mateicos IP ascuns
Problemă Centru Prim (clasa a 5-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 4 dec. 2013 12:04:16 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:20:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:20:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:23:5: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * __restrict__’ but argument is of type ‘int’ user.c:23:5: warning: format not a string literal and no format arguments [-Wformat-security] user.c:26:5: error: expected ‘;’ before ‘return’ user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:27:1: warning: control reaches end of non-void function [-Wreturn-type]