Refract Facts: Difference between revisions

From programming_contest
Jump to navigation Jump to search
imported>Kmk21
Created page with "Solution 1: Binary search to find the exact angle Solution 2: only 2 decimal precision, so only 9000 possible angles. Try all and pick the one that comes closest. Need to be c..."
 
(No difference)

Latest revision as of 23:14, 26 August 2016

Solution 1: Binary search to find the exact angle Solution 2: only 2 decimal precision, so only 9000 possible angles. Try all and pick the one that comes closest. Need to be careful to pick the right solution when solution is between two hundreths of a degree. Might want to evaluate down to thousandths of a degree to be sure.