Borderou de evaluare (job #86378)

Utilizator avatar andreea_2002 7A Coman Andreea andreea_2002 IP ascuns
Problemă Numere Binare Compilator c
Rundă Tema 7 clasa a 6-a Status evaluat
Dată 10 nov. 2014 13:11:54 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:5:14: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c: At top level: user.c:19:4: warning: data definition has no type or storage class [enabled by default] user.c:19:4: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:19:4: warning: parameter names (without types) in function declaration [enabled by default] user.c:20:19: error: expected ‘)’ before string constant user.c:21:7: warning: data definition has no type or storage class [enabled by default] user.c:21:7: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:21:7: warning: parameter names (without types) in function declaration [enabled by default] user.c:22:5: error: expected identifier or ‘(’ before ‘return’ user.c:23:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:9:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:18:1: warning: control reaches end of non-void function [-Wreturn-type]