Borderou de evaluare (job #508403)

Utilizator avatar briana_vasile Briana Vasile briana_vasile IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator c
Rundă Concurs simulare clasa a 5-a Status evaluat
Dată 30 nov. 2019 14:35:28 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function 'main': user.c:7:35: warning: variable 'c' set but not used [-Wunused-but-set-variable] user.c:7:32: warning: unused variable 's' [-Wunused-variable] user.c:6:17: warning: unused variable 'fout' [-Wunused-variable] user.c: At top level: user.c:30:5: warning: data definition has no type or storage class [enabled by default] user.c:30:5: warning: type defaults to 'int' in declaration of 'fout' [-Wimplicit-int] user.c:30:12: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:30:5: error: initializer element is not constant user.c:32:5: warning: data definition has no type or storage class [enabled by default] user.c:32:5: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] user.c:34:19: error: expected ')' before string constant user.c:36:5: warning: data definition has no type or storage class [enabled by default] user.c:36:5: warning: type defaults to 'int' in declaration of 'fclose' [-Wimplicit-int] user.c:36:5: warning: parameter names (without types) in function declaration [enabled by default] 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:38:5: error: expected identifier or '(' before 'return' user.c:39:1: error: expected identifier or '(' before '}' token user.c: In function 'main': user.c:10:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:12:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:18:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:28:3: warning: control reaches end of non-void function [-Wreturn-type]