Borderou de evaluare (job #127610)

Utilizator avatar mara2506 6A Moldovan Mara mara2506 IP ascuns
Problemă Piramide (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2015 09:18:50 Scor 0

Raport evaluator

Eroare de compilare: user.c:3:1: warning: data definition has no type or storage class [enabled by default] user.c:3:1: warning: type defaults to ‘int’ in declaration of ‘fin’ [-Wimplicit-int] user.c:3:1: error: conflicting types for ‘fin’ user.c:2:6: note: previous declaration of ‘fin’ was here user.c:3:5: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:3:1: error: initializer element is not constant user.c:4:1: warning: data definition has no type or storage class [enabled by default] user.c:4:1: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:4:1: error: conflicting types for ‘fout’ user.c:2:12: note: previous declaration of ‘fout’ was here user.c:4:6: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:4:1: error: initializer element is not constant user.c:6:12: error: expected ‘)’ before string constant user.c:7:1: warning: data definition has no type or storage class [enabled by default] user.c:7:1: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int] user.c:7:1: error: conflicting types for ‘k’ user.c:5:14: note: previous declaration of ‘k’ was here user.c:8:5: error: expected identifier or ‘(’ before ‘while’ user.c:12:19: error: expected ‘)’ before string constant user.c:13:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘--’ token user.c:14:6: warning: data definition has no type or storage class [enabled by default] user.c:14:6: warning: type defaults to ‘int’ in declaration of ‘S’ [-Wimplicit-int] user.c:14:6: error: conflicting types for ‘S’ user.c:5:16: note: previous declaration of ‘S’ was here user.c:14:6: error: initializer element is not constant user.c:15:6: warning: data definition has no type or storage class [enabled by default] user.c:15:6: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int] user.c:15:6: error: conflicting types for ‘k’ user.c:5:14: note: previous declaration of ‘k’ was here user.c:15:6: error: initializer element is not constant user.c:15:13: warning: data definition has no type or storage class [enabled by default] user.c:15:13: warning: type defaults to ‘int’ in declaration of ‘C’ [-Wimplicit-int] user.c:15:13: error: conflicting types for ‘C’ user.c:5:44: note: previous declaration of ‘C’ was here user.c:15:6: error: initializer element is not constant user.c:16:19: error: expected ‘)’ before string constant user.c:18:8: warning: data definition has no type or storage class [enabled by default] user.c:18:8: warning: type defaults to ‘int’ in declaration of ‘A’ [-Wimplicit-int] user.c:18:8: error: conflicting types for ‘A’ user.c:5:20: note: previous declaration of ‘A’ was here user.c:18:12: warning: data definition has no type or storage class [enabled by default] user.c:18:12: warning: type defaults to ‘int’ in declaration of ‘nca’ [-Wimplicit-int] user.c:18:12: error: conflicting types for ‘nca’ user.c:5:40: note: previous declaration of ‘nca’ was here user.c:18:18: warning: data definition has no type or storage class [enabled by default] user.c:18:18: warning: type defaults to ‘int’ in declaration of ‘piramida’ [-Wimplicit-int] user.c:18:18: error: conflicting types for ‘piramida’ user.c:5:31: note: previous declaration of ‘piramida’ was here user.c:18:1: error: initializer element is not constant user.c:18:41: warning: data definition has no type or storage class [enabled by default]