Borderou de evaluare (job #94477)

Utilizator avatar Arsene_Denisa B Arsene Denisa Arsene_Denisa IP ascuns
Problemă Cifre (clasa a 5-a) Compilator c
Rundă Concurs clasa a 5-a Status evaluat
Dată 2 dec. 2014 13:13:37 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat] user.c:39:5: error: ‘else’ without a previous ‘if’ user.c:5:71: warning: unused variable ‘cf’ [-Wunused-variable] user.c:5:67: warning: unused variable ‘bf’ [-Wunused-variable] user.c:5:41: warning: unused variable ‘ras2’ [-Wunused-variable] user.c:5:35: warning: unused variable ‘ras1’ [-Wunused-variable] user.c:5:30: warning: variable ‘ras’ set but not used [-Wunused-but-set-variable] user.c:5:26: warning: unused variable ‘cc’ [-Wunused-variable] user.c:5:22: warning: unused variable ‘cb’ [-Wunused-variable] user.c:5:15: warning: unused variable ‘c’ [-Wunused-variable] user.c:5:12: warning: unused variable ‘b’ [-Wunused-variable] user.c:4:17: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:63:17: error: expected ‘)’ before string constant user.c:64:5: warning: data definition has no type or storage class [enabled by default] user.c:64:5: warning: type defaults to ‘int’ in declaration of ‘cb’ [-Wimplicit-int] user.c:64:8: error: ‘b’ undeclared here (not in a function) user.c:65:6: warning: data definition has no type or storage class [enabled by default] user.c:65:6: warning: type defaults to ‘int’ in declaration of ‘bf’ [-Wimplicit-int] user.c:66:5: error: expected identifier or ‘(’ before ‘while’ user.c:70:5: error: expected identifier or ‘(’ before ‘if’ user.c:72:5: error: expected identifier or ‘(’ before ‘else’ user.c:74:5: warning: data definition has no type or storage class [enabled by default] user.c:74:5: warning: type defaults to ‘int’ in declaration of ‘c2’ [-Wimplicit-int] user.c:75:5: warning: data definition has no type or storage class [enabled by default] user.c:75:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int] user.c:75:5: error: initializer element is not constant user.c:77:5: error: expected identifier or ‘(’ before ‘if’ user.c:79:5: error: expected identifier or ‘(’ before ‘while’ user.c:88:5: error: expected identifier or ‘(’ before ‘if’ user.c:90:5: error: expected identifier or ‘(’ before ‘else’ user.c:93:5: error: expected identifier or ‘(’ before ‘else’ user.c:97:5: warning: data definition has no type or storage class [enabled by default] user.c:97:5: warning: type defaults to ‘int’ in declaration of ‘c2’ [-Wimplicit-int] user.c:97:5: error: redefinition of ‘c2’ user.c:74:5: note: previous definition of ‘c2’ was here user.c:97:5: error: initializer element is not constant user.c:98:5: warning: data definition has no type or storage class [enabled by default] user.c:98:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int] user.c:98:5: error: redefinition of ‘b’ user.c:75:5: note: previous definition of ‘b’ was here user.c:98:5: error: initializer element is not constant user.c:99:5: warning: data definition has no type or storage class [enabled by default] user.c:99:5: warning: type defaults to ‘int’ in declaration of ‘bun’ [-Wimplicit-int] user.c:100:6: error: expected identifier or ‘(’ before ‘while’ user.c:109:6: error: expected identifier or ‘(’ before ‘if’ user.c:111:6: error: expected identifier or ‘(’ before ‘if’ user.c:113:6: error: expected identifier or ‘(’ before ‘else’ user.c:116:19: error: expected ‘)’ before string constant