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

Revision en2, by devapriyanta, 2024-12-16 06:36:45
  • 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

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

hERE'S the submission: 296696384

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English devapriyanta 2024-12-16 06:37:39 25
en2 English devapriyanta 2024-12-16 06:36:45 1514 Tiny change: ' TIA\n\n\n[submissio' -> ' TIA\n\n\nhERE'S the submission: [submissio'
en1 English devapriyanta 2024-12-16 06:33:29 1926 Initial revision (published)