Can you provide the solution again? I have used pbds but it’s getting WA on test case 8
can You please provide the solution of this problem. all the previous accepted code get WA.
@rkb_rd Thanks for bringing this to attention. The last test case has been updated and all recent submissions with Wrong Answer have been rejudged.