Borderou de evaluare (job #34664)

Utilizator avatar edycristea cristea eduard edycristea IP ascuns
Problemă Ucif (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 6 dec. 2013 20:54:12 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:9:1: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.c:9:11: warning: multi-character character constant [-Wmultichar] user.c:9:1: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.c:13:1: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int *’ [-Wformat] user.c: At top level: user.c:16:1: warning: data definition has no type or storage class [enabled by default] user.c:16:1: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] user.c:16:1: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.c:16:1: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] user.c:16:17: warning: multi-character character constant [-Wmultichar] user.c:16:22: error: ‘nc’ undeclared here (not in a function) user.c:17:1: warning: data definition has no type or storage class [enabled by default] user.c:17:1: warning: type defaults to ‘int’ in declaration of ‘u’ [-Wimplicit-int] user.c:17:1: error: initializer element is not constant user.c:18:1: warning: data definition has no type or storage class [enabled by default] user.c:18:1: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int] user.c:18:6: warning: initialization makes integer from pointer without a cast [enabled by default] user.c:18:1: error: initializer element is not constant user.c:20:1: error: expected identifier or ‘(’ before ‘return’ user.c:21:1: error: expected identifier or ‘(’ before ‘}’ token user.c: In function ‘main’: user.c:7:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]