TLE using Go

Revision en1, by Itachi_Uchiha13, 2023-09-09 01:25:42

In this problem [problem:1857/F], I used a binary search to solve this. I wrote the code in Go, but it is giving TLE. I'm not very experienced with Go, so I'd really appreciate it if someone could explain why this is happening.

Link to submission: [problem:222520517]

Thanks for the help in advance!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Itachi_Uchiha13 2023-09-09 01:27:59 104 Tiny change: 'm [1857/F]](https://' -> 'm [1857/F](https://'
en1 English Itachi_Uchiha13 2023-09-09 01:25:42 319 Initial revision (published)