
.....二分
二分算法+三分
qq_36424540
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
三分解决问题
描述 我们都知道ycb老师是一个阳刚的人,不仅如此,ycb老师还是一个很很绅士的人,一天他看到一个妹子被一个箱子挡住了路,于是他想移动这个箱子,帮助妹子清理路障,但是要是用力过猛会的话,ycb老师怕妹子认为自己是一个粗鲁的人,于是他想知道最小移动箱子的力是多大? PS:忽略转动 , 地面水平,箱子看成质点,G=9.80665m/s^2,请注意是移动箱子(滑稽.jpg)。 输入 第一行输...原创 2017-06-10 23:05:14 · 249 阅读 · 0 评论 -
The Moving Points HDU - 4717
http://acm.hdu.edu.cn/showproblem.php?pid=4717三分答案,求一个区间内的极值。#include<cstdio> #include<cstring> #include<cmath> #include<algorithm> using namespace std; typedef long long ll;...原创 2018-01-24 22:56:57 · 284 阅读 · 0 评论 -
Rebuild hdu-5531 (精度)
Archaeologists find ruins of Ancient ACM Civilization, and they want to rebuild it. The ruins form a closed path on an x-y plane, which has n endpoints. The endpoints locate on (x1,y1), (x2,y2), …,(xn...原创 2018-10-06 21:35:32 · 228 阅读 · 0 评论 -
WHU A. Circle
There arennline segments in a two-dimensional plane. This task requires you to find the maximum radius of an empty circle with the center coordinate(xc,yc)(xc,yc)constrained as follows: 0≤xc≤L0≤x...转载 2019-04-08 16:55:06 · 292 阅读 · 0 评论