Borderou de evaluare (job #31943)

Utilizator avatar stefan Stefan Creasta stefan IP ascuns
Problemă Plaja 1 (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2013 18:19:00 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:15:9: error: ‘e’ undeclared (first use in this function) user.c:15:9: note: each undeclared identifier is reported only once for each function it appears in user.c:28:17: error: ‘else’ without a previous ‘if’ user.c:6:16: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:30:9: warning: data definition has no type or storage class [enabled by default] user.c:30:9: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int] user.c:30:14: error: ‘b’ undeclared here (not in a function) user.c:30:17: error: ‘e’ undeclared here (not in a function) user.c:31:9: warning: data definition has no type or storage class [enabled by default] user.c:31:9: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] user.c:31:9: error: initializer element is not constant user.c:32:5: error: expected identifier or ‘(’ before ‘}’ token 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:34:5: warning: data definition has no type or storage class [enabled by default] user.c:34:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:34:10: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:34:5: error: initializer element is not constant user.c:35:18: error: expected ‘)’ before string constant user.c:36:5: error: expected identifier or ‘(’ before ‘return’ user.c:37:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:13:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:29:9: warning: control reaches end of non-void function [-Wreturn-type]