Borderou de evaluare (job #1951138)
Utilizator | Data | 3 aprilie 2017 14:21:12 | |
---|---|---|---|
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 ‘unsigned int*’ for argument ‘1’ to ‘unsigned int transform(unsigned int*)’
a = transform(A0); // numarul de modificari pentru A0
^
user.cpp:39:18: error: cannot convert ‘bool*’ to ‘unsigned int*’ for argument ‘1’ to ‘unsigned int transform(unsigned 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])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !