Borderou de evaluare (job #67024)

Utilizator avatar isa_ioana_feraru ioana-maria feraru isa_ioana_feraru IP ascuns
Problemă Consiliu (clasa a 5-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 4 apr. 2014 09:54:20 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:21:5: error: stray ‘\226’ in program user.c:21:19: error: expected ‘;’ before numeric constant user.c:24:9: error: ‘p’ undeclared (first use in this function) user.c:24:9: note: each undeclared identifier is reported only once for each function it appears in user.c:34:5: error: stray ‘\226’ in program user.c:34:19: error: expected ‘;’ before numeric constant user.c:5:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c: At top level: user.c:52:1: warning: data definition has no type or storage class [enabled by default] user.c:52:1: warning: type defaults to ‘int’ in declaration of ‘maxa’ [-Wimplicit-int] user.c:52:10: error: ‘n’ undeclared here (not in a function) user.c:53:1: warning: data definition has no type or storage class [enabled by default] user.c:53:1: warning: type defaults to ‘int’ in declaration of ‘maxb’ [-Wimplicit-int] user.c:53:1: error: initializer element is not constant user.c:54:1: warning: data definition has no type or storage class [enabled by default] user.c:54:1: warning: type defaults to ‘int’ in declaration of ‘x’ [-Wimplicit-int] user.c:54:1: error: initializer element is not constant user.c:55:15: error: expected ‘)’ before string constant user.c:56:1: warning: data definition has no type or storage class [enabled by default] user.c:56:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:56:1: warning: parameter names (without types) in function declaration [enabled by default] user.c:57:1: warning: data definition has no type or storage class [enabled by default] user.c:57:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:57:1: warning: parameter names (without types) in function declaration [enabled by default] user.c:58:1: error: expected identifier or ‘(’ before ‘return’ user.c:59: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:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:51:1: warning: control reaches end of non-void function [-Wreturn-type]