Borderou de evaluare (job #1781947)

Utilizator alexhulutaHuluta Alexandru alexhuluta Data 17 octombrie 2016 17:26:34
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:44:10: error: incompatible types in assignment of ‘int’ to ‘float [101]’ c=0;i=1; ^ user.cpp:49:24: error: invalid operands of types ‘float [101]’ and ‘int’ to binary ‘operator<<’ g<<nr[i]<<" "<<1<<'\n'; ^ user.cpp:56:24: error: invalid operands of types ‘float [101]’ and ‘int’ to binary ‘operator<<’ g<<nr[i]<<' '<<p<<'\n'; ^ user.cpp:60:13: error: invalid operands of types ‘float [101]’ and ‘float [101]’ to binary ‘operator<<’ }g<<c; ^

Ceva nu functioneaza?