• + 0 comments

    string fairRations(vector B) { int result=0; int n=B.size(); for (int i=0;i

    }
    return B[B.size() - 1] % 2 == 0 ? to_string(result*2) : "NO";
    

    }