随笔分类 - 计算几何
摘要:样例:输入:123 16 39 28 49 69 98 96 55 84 43 51 3121000 10002000 10004000 20006000 10008000 30008000 80007000 80005000 40004000 50003000 40003000 50001000 ...
阅读全文
摘要:数长方形Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 152Accepted Submission(s): 87Problem Descripti...
阅读全文
摘要:areaTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 686Accepted Submission(s): 265Problem Descript...
阅读全文
摘要:题意:给出两个相离的圆O1,O2和圆外一点P,求构造这样的圆:同时与两个圆相外切,且经过点P,输出圆的圆心和半径分析:画图很容易看出这样的圆要么存在一个,要么存在两个:此题直接解方程是不容易的,先看看反演的定义:已知一圆C,圆心为O,半径为r,如果P与P’在过圆心O的直线上,且,则称P与P'关于O互...
阅读全文
摘要:IntervalsTime Limit:1000MSMemory Limit:10000KTotal Submissions:4046Accepted:1180DescriptionIn the ceiling in the basement of a newly open developers b...
阅读全文
摘要:Space AntTime Limit:1000MSMemory Limit:10000KTotal Submissions:3170Accepted:2029DescriptionThe most exciting space discovery occurred at the end of th...
阅读全文
摘要:Treasure HuntTime Limit : 2000/1000ms (Java/Other)Memory Limit : 20000/10000K (Java/Other)Total Submission(s) : 3Accepted Submission(s) : 2Problem Des...
阅读全文
摘要:SegmentsTime Limit : 2000/1000ms (Java/Other)Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 11Accepted Submission(s) : 1Problem Descri...
阅读全文
摘要:TOYSTime Limit:2000MSMemory Limit:65536KTotal Submissions:10666Accepted:5128DescriptionCalculate the number of toys that land in each bin of a partiti...
阅读全文
摘要:#include"string.h"#include"stdio.h"#include"iostream"#include"algorithm"#include"queue"#include"stack"#define M 100009#define N 100009#include"stdlib....
阅读全文
摘要:AsteroidsTime Limit:1000MSMemory Limit:65536KTotal Submissions:481Accepted:152Special JudgeDescriptionAssociation of Collision Management (ACM) is pla...
阅读全文
摘要:Ultimate WeaponTime Limit:2000MSMemory Limit:131072KTotal Submissions:2074Accepted:989DescriptionIn year 2008 of the Cosmic Calendar, the Aliens send ...
阅读全文
摘要:3D Convex HullTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1266Accepted Submission(s): 658Probl...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=4273RescueTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s)...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=4266The Worm in the AppleTime Limit: 50000/20000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)To...
阅读全文
摘要:分析:给出三维空间中的n个顶点,构建凸包增量法求解:首先任选4个点形成的一个四面体,然后每次新加一个点,分两种情况: 1> 在凸包内,则可以跳过 2> 在凸包外,找到从这个点可以"看见"的面S(看不看得见可以用法向量,看点是否在面外侧),删除这些面S,然后对于S的每条边E进行判断,看该点还能否看到这...
阅读全文
摘要:hdu1756Cupid's ArrowTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1033Accepted Submission(s): 38...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5033BuildingTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Submissi...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=3007相关题型连接:http://acm.hdu.edu.cn/showproblem.php?pid=3932http://acm.zju.edu.cn/onlinejudge/showProblem.do?pr...
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=3007题意:给出平面上的一些点,要求用一个最小的圆,把所有的点包围起来。 最小覆盖圆, 增量法假设圆O是前i-1个点得最小覆盖圆,加入第i个点,如果在圆内或边上则什么也不做。否,新得到的最小覆盖圆肯定经过第i个点。...
阅读全文