Borderou de evaluare (job #324496)

Utilizator avatar andreic06 calota andrei andreic06 IP ascuns
Problemă Cifre 4 (clasa a 5-a) Compilator c
Rundă c1_5 Status evaluat
Dată 19 nov. 2017 14:59:49 Scor 0

Raport evaluator

Eroare de compilare: user.c:7:5: warning: data definition has no type or storage class [enabled by default] user.c:7:5: warning: type defaults to ‘int’ in declaration of ‘fin’ [-Wimplicit-int] user.c:7:5: error: conflicting types for ‘fin’ user.c:5:11: note: previous declaration of ‘fin’ was here user.c:7:11: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:7:5: error: initializer element is not constant user.c:8:19: error: expected ‘)’ before string constant user.c:9:5: warning: data definition has no type or storage class [enabled by default] user.c:9:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:9:5: error: conflicting types for ‘fout’ user.c:5:17: note: previous declaration of ‘fout’ was here user.c:9:34: error: expected ‘)’ before ‘w’ user.c:9:35: warning: missing terminating " character [enabled by default] user.c:9:34: error: missing terminating " character user.c:40:1: error: too few arguments to function ‘fopen’ /usr/include/stdio.h:273:14: note: declared here user.c:40:1: error: expected ‘,’ or ‘;’ before ‘}’ token user.c: In function ‘main’: user.c:4:1: warning: control reaches end of non-void function [-Wreturn-type]