Why is this code getting this verdict! (Last Div4)

Revision en1, by Mostafa_Alaa99, 2025-10-29 23:31:55

About Div4E

here is my 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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Mostafa_Alaa99 2025-10-29 23:47:03 255
en1 English Mostafa_Alaa99 2025-10-29 23:31:55 615 Initial revision (published)