ACM_计算几何
ITAK
这个作者很懒,什么都没留下…
展开
-
POJ 3347 Kadj Squares(计算几何)
传送门Kadj Squares Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 2937 Accepted: 1151 DescriptionIn this problem, you are given a sequence S1, S2, …, Sn of squares of different siz原创 2016-05-17 20:53:43 · 3955 阅读 · 0 评论 -
HDU 4793 Collision(计算几何)——2013 Asia Changsha Regional Contest
传送门 CollisionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 866 Accepted Submission(s): 327Special JudgeProblem Description There’s a round原创 2016-09-23 19:22:20 · 1046 阅读 · 0 评论 -
HDU 4798 Skycity (计算几何+推公式) 2013 Asia Changsha Regional Contest
传送门SkycityTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 538 Accepted Submission(s): 166Problem Description The world’s new tallest building原创 2016-09-23 19:37:25 · 511 阅读 · 0 评论 -
UVA 6859 Points(凸包的应用)
传送门 Peter and Bob are playing a “Points” game on a math sheet of paper. Peter places a few points on the paper — grid nodes. Bob wants to surround them with a polygon so that all marked nodes are lyin原创 2016-10-13 20:19:48 · 992 阅读 · 0 评论 -
玲珑杯 1131 - 喵哈哈村的几何大师╰☆莣メ誋こ月(三角函数)
传送门1131 - 喵哈哈村的几何大师╰☆莣メ誋こ月Time Limit:1s Memory Limit:256MByteSubmissions:280Solved:60DESCRIPTION╰☆莣メ誋こ月是月大叔的ID,他是一个掌握着429种几何画法的的几何大师,最擅长的技能就是搞事,今天他又要开始搞事了。给原创 2017-05-31 15:11:55 · 854 阅读 · 0 评论 -
计蒜客47——圈果树(二维凸包)
传送门 小马承包了一个果园,想修一个围栏,但是不希望砍掉任何的果树。对于给出的所有的果树的坐标,计算一下最小的围住所有的果树的围栏的长度。输入数据的第一行包括一个整数 N(0≤ N ≤10,000)表示农夫约翰想要围住的放牧点的数目。接下来 N 行,每行由两个由空格分隔的实数组成,Xi 和 Yi,对应平面上的放牧点坐标(-1,000,000 ≤原创 2017-06-06 19:11:31 · 639 阅读 · 0 评论 -
HDU 5572 An Easy Physics Problem(计算几何)——2015ACM/ICPC亚洲区上海站-重现赛
传送门 An Easy Physics ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2322 Accepted Submission(s): 469Problem Description On an infinite原创 2017-06-18 20:01:46 · 1272 阅读 · 0 评论 -
HDU - 5120 Intersection(简单几何)——2014ACM/ICPC亚洲区北京站
传送门 Matt is a big fan of logo design. Recently he falls in love with logo made up by rings. The following figures are some famous examples you may know. A ring is a 2-D figure bounded by two circl原创 2017-06-25 20:53:50 · 891 阅读 · 0 评论 -
HDU 5531 Rebuild(三分)——2015ACM/ICPC亚洲区长春站
传送门 RebuildTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 2483 Accepted Submission(s): 548Problem Description Archaeologists find ruins of原创 2017-07-08 18:13:52 · 1208 阅读 · 0 评论 -
HDU 6127 Hard challenge(思维+计算几何)——2017 Multi-University Training Contest - Team 7
传送门Just do itTime Limit: 5000/2500 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 851 Accepted Submission(s): 485Problem Description There is a nonnegative integ原创 2017-08-16 16:10:35 · 358 阅读 · 0 评论 -
HDU 6055 Regular polygon(计算几何+思维)——2017 Multi-University Training Contest - Team 2
传送门 Regular polygonTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1187 Accepted Submission(s): 461Problem Description On a two-dimensional p原创 2017-07-28 11:26:10 · 916 阅读 · 0 评论 -
HDU 5954 Do not pour out(二分+积分)
传送门You have got a cylindrical cup. Its bottom diameter is 2 units and its height is 2 units as well.The height of liquid level in the cup is d (0 ≤ d ≤ 2). When you incline the cup to the maximal angle原创 2017-10-07 09:46:57 · 934 阅读 · 0 评论 -
hiho一下 第111周 A Farthest Point(计算几何)
计算几何: 求给定平面直角坐标系中的一个圆,求圆内(可以在边界上)离圆心最远的整点。原创 2016-08-20 10:00:30 · 755 阅读 · 0 评论 -
HDU 5839 Special Tetrahedron(计算几何)——2016中国大学生程序设计竞赛 - 网络选拔赛
计算几何原创 2016-08-17 12:58:03 · 1031 阅读 · 2 评论 -
POJ 2187 Beauty Contest(旋转卡壳模板题)
传送门 Beauty Contest Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 33435 Accepted: 10361 DescriptionBessie, Farmer John’s prize cow, has just won first place in a bovine beau原创 2016-05-19 20:13:50 · 4655 阅读 · 0 评论 -
CodeForces 659 D. Bicycle Race(计算几何 + 数学公式)
传送门 D. Bicycle Race time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Maria participates in a bicycle race.The speedway takes place on the s原创 2016-06-07 20:38:28 · 2188 阅读 · 0 评论 -
Acdream 1234 Two Cylinders(自适应辛普森积分法)
传送门 Two Cylinders Special Judge Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others) Submit Statistic Next Problem Problem Description In this problem your task is very原创 2016-06-26 19:11:41 · 2069 阅读 · 0 评论 -
UVALive 7461 - Separating Pebbles
传送门 题目大意: 给一个数N,然后每行3个数,前两个数十坐标,后面的一个数区分是 ‘+’ 还是’o’,0代表的是’o’,1代表的是’+’.然后判断是不是能够有一条线把这两部分分开也就是线的两边都是一样的标识符。如果能输出1, 否则输出 0.解题思路: 其实,我们可以将’o’代表的所有的点构成一个凸包,将’+’代表的所有的点构成一个凸包,判断这两个凸包是不是有相交就行了。My Code:#原创 2016-07-10 20:11:09 · 1588 阅读 · 0 评论 -
51NOD 1278 相离的圆(二分 + 排序)
传送门平面上有N个圆,他们的圆心都在X轴上,给出所有圆的圆心和半径,求有多少对圆是相离的。 例如:4个圆分别位于1, 2, 3, 4的位置,半径分别为1, 1, 2, 1,那么{1, 2}, {1, 3} {2, 3} {2, 4} {3, 4}这5对都有交点,只有{1, 4}是相离的。 Input 第1行:一个数N,表示圆的数量(1 <= N <= 50000) 第2 - N + 1行:每原创 2016-07-01 10:19:47 · 2427 阅读 · 0 评论 -
51NOD 1100 斜率最大
传送门平面上有N个点,任意2个点确定一条直线,求出所有这些直线中,斜率最大的那条直线所通过的两个点。 (点的编号为1-N,如果有多条直线斜率相等,则输出所有结果,按照点的X轴坐标排序,正序输出。数据中所有点的X轴坐标均不相等) Input 第1行,一个数N,N为点的数量。(2 <= N <= 10000) 第2 - N + 1行:具体N个点的坐标,X Y均为整数(-10^9 <= X,Y <原创 2016-07-06 20:37:51 · 1982 阅读 · 0 评论 -
HDU 5733 tetrahedron (2016 Multi-University Training Contest 1 计算几何)
传送门 Problem Description Given four points ABCD, if ABCD is a tetrahedron, calculate the inscribed sphere of ABCD.Input Multiple test cases (test cases ≤100).Each test cases contains a line of 12 int原创 2016-07-19 20:47:08 · 2107 阅读 · 2 评论 -
POJ 1106 Transmitters(计算几何:叉积)
传送门 div class=”ptt” lang=”en-US”>TransmittersTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 5088Accepted: 2686DescriptionIn a wireless network with multiple transmitters sending on the sam原创 2016-08-03 18:40:42 · 757 阅读 · 0 评论 -
Codeforces 140 A. New Year Table(计算几何)
传送门 A. New Year Table time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Gerald is setting the New Year table. The table has the form of a c原创 2016-08-03 19:48:08 · 920 阅读 · 2 评论 -
51NOD 1265 四点共面(计算几何)
传送门 给出三维空间上的四个点(点与点的位置均不相同),判断这4个点是否在同一个平面内(4点共线也算共面)。如果共面,输出”Yes”,否则输出”No”。 Input 第1行:一个数T,表示输入的测试数量(1 <= T <= 1000) 第2 - 4T + 1行:每行4行表示一组数据,每行3个数,x, y, z, 表示该点的位置坐标(-1000 <= x, y, z <= 1000)。 Ou原创 2016-07-31 18:56:45 · 1306 阅读 · 0 评论 -
HDU 3532 Max Angle(计算几何——极角排序)
传送门 Max AngleTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 704 Accepted Submission(s): 253Problem Description Given many points in a plan原创 2016-08-04 10:44:06 · 1945 阅读 · 0 评论 -
HDU 4946 Area of Mushroom(凸包)
传送门 Teacher Mai has a kingdom with the infinite area. He has n students guarding the kingdom. The i-th student stands at the position (xi,yi), and his walking speed is vi. If a point can be rea原创 2017-10-16 10:51:10 · 634 阅读 · 0 评论