随笔分类 -  计算几何

摘要:Problem Description Have you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled awarded.In the field of Cyberground, the posit... 阅读全文
posted @ 2017-01-14 15:15 Pic 阅读(292) 评论(0) 推荐(0)
摘要:Problem Description 老师在计算几何这门课上给Eddy布置了一道题目,题目是这样的:给定二维的平面上n个不同的点,要求在这些点里寻找三个点,使他们构成的三角形拥有的面积最大。Eddy对这道题目百思不得其解,想不通用什么方法来解决,因此他找到了聪明的你,请你帮他解决这个题目。 Input 输入数据包含多组测试用例,每个测试用例的第一行包含一个整数n,表示一共有n个互不相同的点... 阅读全文
posted @ 2017-01-13 21:10 Pic 阅读(295) 评论(0) 推荐(0)
摘要:Problem Description WisKey的眼镜有500多度,所以眼神不大好,而且他有个习惯,就是走路喜欢看着地(不是为了拣钱哦^_^),所以大家下次碰见他的时候最好主动打下招呼,呵呵.但是Rabbit总是喜欢扮神秘,一天WisKey去食堂排队等着买饭,突然收到一道短消息,是Rabbit发的,”呵呵,又看见你了,你没看到我吧”.WisKey马上拉长脖子扫描食堂,可是就是看不到,再发短信... 阅读全文
posted @ 2017-01-13 10:57 Pic 阅读(143) 评论(0) 推荐(0)
摘要:Problem Description There are many secret openings in the floor which are covered by a big heavy stone. When the stone is lifted up, a special mechanism detects this and activates poisoned arrows tha... 阅读全文
posted @ 2016-12-30 17:03 Pic 阅读(188) 评论(0) 推荐(0)