I submitted a bad solution and it got AC for the 1st subtask.
Had put a wrong relational operator somewhere: < instead of <=
Thankfully, the 2nd subtask caught it as WA in some of its cases so I didn’t get a 100 score.
I submitted a bad solution and it got AC for the 1st subtask.
Had put a wrong relational operator somewhere: < instead of <=
Thankfully, the 2nd subtask caught it as WA in some of its cases so I didn’t get a 100 score.
yea it was…infact i implemented it using wrong approch still 1st subtask was accepted!!!