Borderou de evaluare (job #380126)

Utilizator avatar Mihai.Mocanu Mihai Adrian Mocanu Mihai.Mocanu IP ascuns
Problemă TV (clasa a 7-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 13 mai 2018 17:25:51 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:11:14: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c:10:22: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] user.c: At top level: user.c:56:3: error: expected identifier or ‘(’ before ‘if’ user.c:58:4: error: expected identifier or ‘(’ before ‘else’ user.c:63:3: warning: data definition has no type or storage class [enabled by default] user.c:63:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:63:3: warning: parameter names (without types) in function declaration [enabled by default] user.c:64:3: warning: data definition has no type or storage class [enabled by default] user.c:64:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:64:3: warning: parameter names (without types) in function declaration [enabled by default] user.c:66:3: error: expected identifier or ‘(’ before ‘return’ user.c:67:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:15:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:19:11: 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:23:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:25:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:54:3: warning: control reaches end of non-void function [-Wreturn-type]