当前位置 :
英语翻译Givennpoints(xi,yi)(i=1,2...n)inaplane,whereallxiwillbedistinct.Afterconnectingthenpointswithstaightlinesinorderfromtheleftmostpointtotherightmostpoint,theareabelowthelinesiscalledcoverage.Now,it'sy
1人问答
更新时间:2024-04-25 10:00:20
问题描述:

英语翻译

Givennpoints(xi,yi)(i=1,2...n)inaplane,whereallxiwillbedistinct.Afterconnectingthenpointswithstaightlinesinorderfromtheleftmostpointtotherightmostpoint,theareabelowthelinesiscalledcoverage.Now,it'syourjobtocalculatethemaximumcoveragearea,ifyi(i=1,2...n)canbeswappedarbitrarily.

Input

Thefirstlineoftheinputisanintegert(t

刘晓娟回答:
  给定平面坐标上一系列点(xi,yi)(i=1,2...n),xi各不相同,如果我们用直线段将这些点从左至右连接起来,这些线段下面区域的面积称作覆盖率.现在假定yi(i=1,2...n)的值可以任意互换,你的任务是找到最大可能的覆盖...
最新更新
PC端 | 移动端 | mip端
问答网(wenda2.com)汇总了汉语字典,新华字典,成语字典,组词,词语,在线查字典,中文字典,英汉字典,在线字典,康熙字典等等,是学生查询学习资料的好帮手,是老师教学的好助手。
声明:本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。

邮箱:联系方式:

Copyright©2009-2021 问答网 wenda2.com 版权所有 闽ICP备2022000227号-1