Wrong Solution In Editorial. Weak Test Cases


#1

What the hell is this? It is given in the solution. Very weak test cases in IB.

int Solution::solve(int A, vector<int> &B, vector<int> &C) {
    if(B.size()>=A)
        return 0;
    else
        return 1;
}

#2

Yeah ! even I worked it out right now and clearly this soln is wrong ! it doesn’t make sense at all. But when I run it, the IB DID GIVE WRONG ANSWER on one of the test case. I wonder if that soln was the accepted one or not. May be they are even sharing the soln as fastest from amongst the soln that are partially correct ! dont know !