Borderou de evaluare (job #1951133)

Utilizator MariusTestBroboana Marius MariusTest Data 3 aprilie 2017 14:19:04
Problema Leduri 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:38:18: error: cannot convert ‘bool*’ to ‘int*’ for argument ‘1’ to ‘unsigned int transform(int*)’ a = transform(A0); // numarul de modificari pentru A0 ^ user.cpp:39:18: error: cannot convert ‘bool*’ to ‘int*’ for argument ‘1’ to ‘unsigned int transform(int*)’ b = transform(A1); // numarul de modificari pentru A1 ^ user.cpp:40:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (A0[n] == B[n]) ^ user.cpp:45:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(A1[n] == B[n]) ^ user.cpp:52:2: error: ‘cout’ was not declared in this scope cout << ans << '\n'; ^

Ceva nu functioneaza?