题目链接:http://poj.org/problem?id=2507 题意就是给你x y c求出?的距离; h1 = sqrt(x*x-d*d); h2 = sqrt(y*y-d*d); (h1-c)/h1 = d1/d = c/h2 c = (h1*h2)/(h1+h2); 二分找到d即可; Read More
posted @ 2016-05-31 14:26 西瓜不懂柠檬的酸 Views(169) Comments(0) Diggs(0)
levels of contents