英语翻译6

https://www.luogu.com.cn/problem/CF2C

题目描述

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.

输入格式

The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x,y,rx,y,r , where ( x,yx,y ) are the coordinates of the stadium's center ( -10^{3}<=x,y<=10^{3}−103<=x,y<=103 ), and rr ( 1<=r<=10^{3}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.

输出格式

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.

在Bercouver举办的奥运会正在进行中。这里每个人都有自己的项目,运动员竞争获得奖章。运动解说员也为了获得更方便的位置去发表解说报道而竞争。今天主要的比赛项目在三个圆形体育场举办。并且解说员的目标是获得最好的解说点,也就是说这个位置可以观察到三个体育场。因为所有的比赛都同等重要,要在相同的角度观察三个体育场。如果满足要求的位置不止一个,有最大观测角度的位置是最好的。

输入包含三行数据。每一行描述了体育场的位置。每一行包含x,y,r(x,y)表示体育场中心的坐标,r是半径。所有的数字是整数。体育场没有交汇处,并且中心不在一条直线上。

输出需要的坐标并保留5位小数。如果没有满足要求的位置,不需要输出结果,输出留空。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值