Borderou de evaluare (job #357396)

Utilizator avatar grecu_tudor Grecu Tudor grecu_tudor IP ascuns
Problemă Jimjam (clasa a 5-a) Compilator c
Rundă Tema 28 clasa 5 Status evaluat
Dată 27 feb. 2018 16:30:39 Scor 0

Raport evaluator

Eroare de compilare: user.c:43:3: warning: data definition has no type or storage class [enabled by default] user.c:43:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:43:3: warning: parameter names (without types) in function declaration [enabled by default] user.c:44:3: warning: data definition has no type or storage class [enabled by default] user.c:44:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:44:3: warning: parameter names (without types) in function declaration [enabled by default] user.c:45:3: error: expected identifier or ‘(’ before ‘return’ user.c:46:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:8:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:42:3: warning: control reaches end of non-void function [-Wreturn-type]