Borderou de evaluare (job #114603)

Utilizator avatar cirje-bogdan B Cirje Bogdan cirje-bogdan IP ascuns
Problemă Cifra1 (clasa a 9-a) Compilator c
Rundă s18_tema_5 Status evaluat
Dată 6 feb. 2015 19:16:45 Scor 0

Raport evaluator

Eroare de compilare: user.c:5:1: warning: data definition has no type or storage class [enabled by default] user.c:5:1: warning: type defaults to ‘int’ in declaration of ‘f’ [-Wimplicit-int] user.c:5:1: error: conflicting types for ‘f’ user.c:4:7: note: previous declaration of ‘f’ was here user.c:5:3: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:5:1: error: initializer element is not constant user.c:6:1: warning: data definition has no type or storage class [enabled by default] user.c:6:1: warning: type defaults to ‘int’ in declaration of ‘g’ [-Wimplicit-int] user.c:6:1: error: conflicting types for ‘g’ user.c:4:10: note: previous declaration of ‘g’ was here user.c:6:3: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:6:1: error: initializer element is not constant user.c: In function ‘p6’: user.c:36:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.c:16:23: warning: unused variable ‘w’ [-Wunused-variable] user.c:16:19: warning: unused variable ‘o’ [-Wunused-variable] user.c: In function ‘main’: user.c:42:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]