Borderou de evaluare (job #61604)

Utilizator avatar Alex11 Petrescu Alexandru 7B Alex11 IP ascuns
Problemă Minute (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 9 mar. 2014 19:37:49 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:8:20: warning: unused variable ‘k’ [-Wunused-variable] user.c:8:17: warning: unused variable ‘s2’ [-Wunused-variable] user.c:8:14: warning: variable ‘s1’ set but not used [-Wunused-but-set-variable] user.c:7:13: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable] user.c: At top level: user.c:38:2: error: expected identifier or ‘(’ before ‘while’ user.c:55:15: error: expected ‘)’ before string constant user.c:56:2: warning: data definition has no type or storage class [enabled by default] user.c:56:2: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:56:2: warning: parameter names (without types) in function declaration [enabled by default] user.c:57:2: warning: data definition has no type or storage class [enabled by default] user.c:57:2: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int] user.c:57:2: warning: parameter names (without types) in function declaration [enabled by default] user.c:58:2: error: expected identifier or ‘(’ before ‘return’ user.c:59:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:11:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:37:2: warning: control reaches end of non-void function [-Wreturn-type]