![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算几何
文章平均质量分 74
Mason_xm
这个作者很懒,什么都没留下…
展开
-
Cows (能容纳多少头牛)
POJ - 3348 DescriptionYour friend to the south is interested in building fences and turning plowshares into swords. In order to help with his overseas adventure, they are forced to save money on b...原创 2018-08-26 15:52:45 · 156 阅读 · 0 评论 -
Area
POJ - 1265 Language:Default Area Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7460 Accepted: 3161 Description Being well know...原创 2018-08-27 23:06:01 · 143 阅读 · 0 评论 -
三角形 (浮点数易错)
HDU - 2039 Problem Description给定三条边,请你判断一下能不能组成一个三角形。Input输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中A,B,C <1000;Output对于每个测试实例,如果三条边长A,B,C能组成三角形的话,输出YES,否则NO。Sample Input21 2 32 2...原创 2018-08-26 15:55:21 · 390 阅读 · 0 评论 -
The Center of Gravity (三角形的重心)
HDU - 2105 Everyone know the story that how Newton discovered the Universal Gravitation. One day, Newton walked leisurely, suddenly, an apple hit his head. Then Newton discovered the Universal Grav...原创 2018-08-26 15:55:37 · 797 阅读 · 0 评论 -
折线分割平面
HDU - 2050 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。 Input输入数据的第一行是一个整数C,表示测试实例的个数,然后是C 行数据,每行包含一个整数n(0<n<=10000),表示折线的数量。 Output对...原创 2018-08-27 23:09:48 · 85 阅读 · 0 评论