Borderou de evaluare (job #32650)

Utilizator avatar StefanPitur Stefan Pitur StefanPitur IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 27 nov. 2013 19:53:52 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:26:13: error: expected ‘}’ before ‘else’ user.c:6:39: warning: variable ‘cmmdc’ set but not used [-Wunused-but-set-variable] user.c:6:33: warning: unused variable ‘p’ [-Wunused-variable] user.c:5:17: warning: unused variable ‘fout’ [-Wunused-variable] user.c: At top level: user.c:40:5: warning: data definition has no type or storage class [enabled by default] user.c:40:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:40:10: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:40:5: error: initializer element is not constant user.c:41:18: error: expected ‘)’ before string constant user.c:42:5: warning: data definition has no type or storage class [enabled by default] user.c:42:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:42:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:43:5: warning: data definition has no type or storage class [enabled by default] user.c:43:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:43:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:44:5: error: expected identifier or ‘(’ before ‘return’ user.c:45:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:12:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:39:5: warning: control reaches end of non-void function [-Wreturn-type]