Weak Test Cases in ARRT [July lunchtime 2021]

Q : CodeChef: Practical coding for everyone

AC Solution : CodeChef: Practical coding for everyone

1
14
13 13 13 13 13 13 13 13 13 13 13 13 13 13
1 2 3 4 5 1 2 3 4 5 1 1 1 1

Output : 0 1 2 3 4 0 0 0 0 0 1 2 3 4
Correct Output : 0 0 0 0 0 1 2 3 4 0 1 2 3 4

UPD : Sorry I read question wrong :slightly_frowning_face:

Your test case is invalid since elements are not distinct.
image

1 Like

Hey, this input is invalid.
A and B are pairwise distinct.

:cry: I read question Wrong