TLE in problem 1857F

Revision en1, by NotHandsomeBoizz, 2023-10-03 18:52:45

Hi everyone! - I'm trying to solve problem 1857F:, but for some reason I received the TLE result and right now I cant find any mistake that make my code trash. - Here is my submission: - I'm really grateful if someone help me to get rid of this problem. Again thank everyone so much for reading my first blog!

(Also I apologized for my bad english I'm just in B2 level :((( )

Tags mathematics, binary search, help to solved


  Rev. Lang. By When Δ Comment
en3 English NotHandsomeBoizz 2023-10-03 18:53:49 0 (published)
en2 English NotHandsomeBoizz 2023-10-03 18:53:18 6
en1 English NotHandsomeBoizz 2023-10-03 18:52:45 509 Initial revision (saved to drafts)