Borderou de evaluare (job #94496)

Utilizator avatar martie2003 6A Popa Ana Maria martie2003 IP ascuns
Problemă Regele (clasa a 5-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 2 dec. 2014 13:19:35 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:3:12: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:20:2: warning: data definition has no type or storage class [enabled by default] user.c:20:2: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:20:7: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:20:2: error: initializer element is not constant user.c:21:14: error: expected ‘)’ before string constant user.c:22:2: warning: data definition has no type or storage class [enabled by default] user.c:22:2: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:22:2: warning: parameter names (without types) in function declaration [enabled by default] user.c:23:2: error: expected identifier or ‘(’ before ‘return’ user.c:24:2: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:6:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]