Can somebody help me in understanding why this soln. not work for round 993 div 4 problem E

Правка en3, от devapriyanta, 2024-12-16 06:37:39
  • Say X and Y are no. of pairs for x1 and y1 in range [x2,y2] where y/x = k^n
  • So all the numbers b/w x1 and y1 have pairs b/w X and Y.
  • So, for range "i" => X to Y, find interval where no. of pairs are "i" using binary search.

But this is failing.This soln. looks promising to me, Please help me why this will not work. TIA

hERE'S the submission: 296696384

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский devapriyanta 2024-12-16 06:37:39 25
en2 Английский devapriyanta 2024-12-16 06:36:45 1514 Tiny change: ' TIA\n\n\n[submissio' -> ' TIA\n\n\nhERE'S the submission: [submissio'
en1 Английский devapriyanta 2024-12-16 06:33:29 1926 Initial revision (published)