Borderou de evaluare (job #1951422)

Utilizator MariusTestBroboana Marius MariusTest Data 3 aprilie 2017 16:40:51
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:36:14: error: cannot convert ‘bool*’ to ‘int*’ for argument ‘1’ to ‘unsigned int modif(int*)’ a = modif(A0); // numarul de modificari pentru A0 ^ user.cpp:37:14: error: cannot convert ‘bool*’ to ‘int*’ for argument ‘1’ to ‘unsigned int modif(int*)’ b = modif(A1); // numarul de modificari pentru A1 ^ user.cpp:40:13: error: ‘rez’ was not declared in this scope rez = a; ^ user.cpp:42:13: error: ‘rez’ was not declared in this scope rez = 1000000; ^ user.cpp:38:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (A0[n] == B[n]) ^ user.cpp:45:13: error: ‘rez’ was not declared in this scope rez = b + 1; ^ user.cpp:47:13: error: ‘rez’ was not declared in this scope rez = 1000000; ^ user.cpp:43:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(A1[n] == B[n]) ^

Ceva nu functioneaza?