About Div4E↵
↵
here is my submission: [346532153](https://mirror.codeforces.com/contest/2167/submission/346532153)↵
↵
as you can see in my code I made this in the end, to make sure that this is really the error↵
↵
if len(ans) != len(set(ans)):↵
print(1 / 0)↵
↵
↵
↵
but even though, it didn't give me runtime and um getting this↵
↵
wrong answer points in output are not distinct (test case 189)↵
↵
↵
↵
↵
Btw, if someone knew my actual bug, plz tell me, I solved this problem already using PQ but I am struggling with its BS sol even I think I wrote the idea correctly↵
↵
↵
↵
UPD1: I got the bug, it was I didn't check before x inclusively and valid as well as same with other side so I can fill the k↵
↵
but this doesn't change the fact that the above error I was getting is strange, so I still need to know why I got it↵
↵
↵
here is my submission: [346532153](https://mirror.codeforces.com/contest/2167/submission/346532153)↵
↵
as you can see in my code I made this in the end, to make sure that this is really the error↵
↵
if len(ans) != len(set(ans)):↵
print(1 / 0)↵
↵
↵
↵
but even though, it didn't give me runtime and um getting this↵
↵
wrong answer points in output are not distinct (test case 189)↵
↵
↵
↵
↵
Btw, if someone knew my actual bug, plz tell me, I solved this problem already using PQ but I am struggling with its BS sol even I think I wrote the idea correctly↵
↵
↵
↵
UPD1: I got the bug, it was I didn't check before x inclusively and valid as well as same with other side so I can fill the k↵
↵
but this doesn't change the fact that the above error I was getting is strange, so I still need to know why I got it↵
↵




