Borderou de evaluare (job #87518)

Utilizator avatar ericals Ericals ericals IP ascuns
Problemă Subsecvență crescătoare (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 13 nov. 2014 10:31:15 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:6:9: warning: too many arguments for format [-Wformat-extra-args] user.c:4:23: warning: unused variable ‘z’ [-Wunused-variable] user.c:3:16: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:19:20: warning: data definition has no type or storage class [enabled by default] user.c:19:20: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:19:20: warning: parameter names (without types) in function declaration [enabled by default] user.c:20:20: warning: data definition has no type or storage class [enabled by default] user.c:20:20: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:20:25: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:20:20: error: initializer element is not constant user.c:22:31: error: expected ‘)’ before string constant user.c:23:18: warning: data definition has no type or storage class [enabled by default] user.c:23:18: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:23:18: warning: parameter names (without types) in function declaration [enabled by default] user.c:25:9: error: expected identifier or ‘(’ before ‘return’ user.c:26:9: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:6:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:10:24: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:18:20: warning: control reaches end of non-void function [-Wreturn-type]