Binary search gives TLE :(

Revision en1, by Mohamed_Saad62, 2020-11-13 15:11:59

AT this problem https://codeforces.com/gym/102470/problem/A (short statment below)
after three days of coding to avoid runtime error I get TLE on a binary search solution can someone explain what is wrong with my solution

the short statement : You are given set of points (x,y) find point on (y = 0) which all point can go to this point in minimum time and all have the same speed which is one meter per second

my code : https://codeforces.com/contest/1445/submission/98270485 (the code has comments :)

Tags #binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Mohamed_Saad62 2020-11-13 15:11:59 548 Initial revision (published)