I tried to solve this exercise I got 66 percent I can not understand why can you help?
The exercise is: Write a function:
int solution(vector &A);