CF2C--Commentator problem翻译

原题链接--

 Commentator problem | JXNUOJNOJ is yet another Online Judge providing you functions like problem solving, discussing, solutions, groups, contests and ranking system.https://acs.jxnu.edu.cn/problem/CF2C

Commentator problem

 1000ms  65536K

描述:

The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to choose the best point of observation, that is to say the point from where all the three stadiums can be observed. As all the sport competitions are of the same importance, the stadiums should be observed at the same angle. If the number of points meeting the conditions is more than one, the point with the maximum angle of observation is prefered.

Would you, please, help the famous Berland commentator G. Berniev to find the best point of observation. It should be noted, that the stadiums do not hide each other, the commentator can easily see one stadium through the other.

译文: 贝尔库沃的奥运会正如火如荼地进行着。在这里每个人都有他们自己的目的:运动员的是夺得奖牌,运动解说员争夺更方便跑步解说的位置。今天主要的运动赛事在三个圆形体育场举行,解说员的目的是选择最好的观测位置,也就是说从那个点出发能观测到三个体育场。因为所有的运动比赛都一样重要,所以运动场应该能在一个角度上被同时观测到。如果能看到这个情况的观测点不止一个,那么有着最大角度的观测点更完美。

请你帮助著名的伯兰解说员G. Berniev找到最好的观测点。注意,某个运动场不能挡住其他的运动场,解说员能简单的穿过某个运动场看另一个运动场。

输入:

The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,  y,  r, where (x, y) are the coordinates of the stadium's center ( -  103 ≤ x,  y ≤ 103), and r (1 ≤ r  ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have common points, and their centers are not on the same line.

译文:输入数据有三行,每行都描述运动场的位置。每行的格式如同x,y,r,(x,y)是运动场的中心坐标(-103<=x,y<=103),r(1<=r<=103)是它的半径。所有的输出数据都是整数,运动场之间没有交点,它们的中心不在一条线上。

输出:

Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank. 

译文:输出要求的点的坐标保留到小数点后5位。如果没有最佳观测点,程序不输出任何东西。输出数据应该留空白。

样例输入:

0 0 10
60 0 10
30 30 10

样例输出:

30.00000 0.00000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值