Though I have not yet started this contest, one of my roommates was doing this question , and by an extremely wrong approach got full 100 marks , and I was left astounded .
If I am allowed to reveal , then I can mention some test cases where many submissions will fail if they are using same logic as of my roommate .
It is my request to admin as well as tester to please look into the matter , and rejudge the solutions.
Edit :- Thanks a lot admin and tester for changing the test cases . Also , I couldn’t understand why many people downvoted this post
question is not clear as, is it must that all Bi’s must fall on array A or some can remain? .
I took the question to be,“Some Bi’s can remain in the array B” and got accepted. In fact the the complexity is O(n) and i can’t understand why limits are n<10000.
I will share the submission once the contest will be over , and in case they don’t change the cases , I am sure this will be disaster . @admin please look into this
I made a function solve(), which was empty back then, and tried to submit it, and GOT AN AC!
I even commented on the problem. The problem is ambiguous, a lot of things are unclear!