Wrong Solution In Editorial. Weak Test Cases


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) {
        return 0;
        return 1;


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 !