Borderou de evaluare (job #1465799)

Utilizator om6gaLungu Adrian om6ga Data 28 iulie 2015 00:04:35
Problema Pascal Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘nr’: user.c:21:23: warning: unused variable ‘aux’ [-Wunused-variable] int count = 0, i, aux[3]; ^ user.c: At top level: user.c:38:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*=’ token count *= 2; ^ user.c:39:5: error: expected identifier or ‘(’ before ‘if’ if ((r/2)*2 == r) ^ user.c:53:5: error: expected identifier or ‘(’ before ‘return’ return count; ^ user.c:54:1: error: expected identifier or ‘(’ before ‘}’ token } ^ user.c: In function ‘nr’: user.c:37:5: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:61:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &R, &D); ^

Ceva nu functioneaza?