Borderou de evaluare (job #213082)

Utilizator avatar dioana_maria 7A Ioana-Maria Descultescu dioana_maria IP ascuns
Problemă Complot (clasa a 7-a) Compilator c
Rundă s18_7_tema18_19_20 Status evaluat
Dată 2 mar. 2016 17:34:13 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c: At top level: user.c:63:19: error: expected ‘)’ before string constant user.c:66:5: warning: data definition has no type or storage class [enabled by default] user.c:66:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:66:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:67:5: warning: data definition has no type or storage class [enabled by default] user.c:67:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:67:5: warning: parameter names (without types) in function declaration [enabled by default] user.c:69:5: error: expected identifier or ‘(’ before ‘return’ user.c:70:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:18:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:21:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:25:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:61:5: warning: control reaches end of non-void function [-Wreturn-type]