Borderou de evaluare (job #1274497)

Utilizator razvan.alisieRazvan Alisie razvan.alisie Data 23 noiembrie 2014 21:42:23
Problema Energii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:10:4: error: overloaded function with no contextual type information max=0; ^ user.cpp:11:1: error: ‘b’ was not declared in this scope b=0; ^ user.cpp:14:10: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>’ if(eg[i]>max) ^ user.cpp:15:5: error: overloaded function with no contextual type information {max=eg[i]; ^ user.cpp:23:10: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’ {if(max==w) ^ user.cpp:24:1: error: ‘cout’ was not declared in this scope cout<<cg[b]; ^ user.cpp:26:10: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator-’ {max=max-w; ^ user.cpp:28:17: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator==’ if(max==eg[i] ^ user.cpp:29:8: error: expected ‘)’ before ‘b’ b=b+i; ^

Ceva nu functioneaza?