Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

Segment Interval Search

Revision en2, by selfcompiler, 2017-01-21 07:26:37

We have set of intervals [theta,-theta] . I want to find out the optimal value of theta [-180,180] which lies in the maximum no of intervals . Value of theta can be float . Can you please help me find the way to find out the optimal theta.

Tags #geometry, interval, binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English selfcompiler 2017-01-21 07:26:37 7 Tiny change: 'e maximum interval . Value o' -> 'e maximum no of intervals . Value o'
en1 English selfcompiler 2017-01-21 07:26:06 256 Initial revision (published)