Borderou de evaluare (job #1630917)

Utilizator adiboierAdi Boier adiboier Data 5 martie 2016 12:00:51
Problema And Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected initializer before ‘int’ int b[100001]; ^ user.cpp: In function ‘int main()’: user.cpp:12:14: error: ‘x’ was not declared in this scope fin>>x[i]; ^ user.cpp:18:13: error: ‘b’ was not declared in this scope b[i]=(x[i]&1); ^ user.cpp:18:19: error: ‘x’ was not declared in this scope b[i]=(x[i]&1); ^ user.cpp:24:16: error: ‘b’ was not declared in this scope if(b[i]==1) l++; ^

Ceva nu functioneaza?