Borderou de evaluare (job #234597)

Utilizator avatar SerbanAndreea beebo ury SerbanAndreea IP ascuns
Problemă Kdiv (clasa a 5-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 13 apr. 2016 10:22:15 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:9:16: warning: unused variable ‘fo’ [-Wunused-variable] user.c: At top level: user.c:33:5: warning: data definition has no type or storage class [enabled by default] user.c:33:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:33:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:35:5: warning: data definition has no type or storage class [enabled by default] user.c:35:5: warning: type defaults to ‘int’ in declaration of ‘fo’ [-Wimplicit-int] user.c:35:9: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:35:5: error: initializer element is not constant user.c:36:16: error: expected ‘)’ before string constant user.c:37:5: warning: data definition has no type or storage class [enabled by default] user.c:37:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:37:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:39:5: error: expected identifier or ‘(’ before ‘return’ user.c:40:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:13:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:20:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:32:5: warning: control reaches end of non-void function [-Wreturn-type]