随笔分类 -  计算几何

poj 2653 Pick-up sticks(判断线段相交)
摘要:Pick-up sticksTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 11043Accepted: 4119DescriptionStan has n sticks of various length. He throws th... 阅读全文

posted @ 2015-08-18 19:58 鱼泪儿 阅读(95) 评论(0) 推荐(0)

poj 1696 Space Ant(极角排序)
摘要:Space AntTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3661Accepted: 2281DescriptionThe most exciting space discovery occurred at the end o... 阅读全文

posted @ 2015-08-18 10:00 鱼泪儿 阅读(156) 评论(0) 推荐(0)

poj 1654 Area(求多边形面积 && 处理误差)
摘要:AreaTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16894Accepted: 4698DescriptionYou are going to compute the area of a special kind of poly... 阅读全文

posted @ 2015-08-17 17:30 鱼泪儿 阅读(172) 评论(0) 推荐(0)

poj 3304 Segments(计算直线与线段之间的关系)
摘要:SegmentsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 10921Accepted: 3422DescriptionGiven n segments in the two dimensional space, write a ... 阅读全文

posted @ 2015-08-17 16:19 鱼泪儿 阅读(233) 评论(0) 推荐(0)

poj 1269 Intersecting Lines(判断两直线关系,并求交点坐标)
摘要:Intersecting LinesTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 12421Accepted: 5548DescriptionWe all know that a pair of distinct points on... 阅读全文

posted @ 2015-08-17 11:15 鱼泪儿 阅读(234) 评论(0) 推荐(0)

poj 2398 Toy Storage(计算几何 点线关系)
摘要:Toy StorageTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4588Accepted: 2718DescriptionMom and dad have a problem: their child, Reza, never ... 阅读全文

posted @ 2015-08-17 09:17 鱼泪儿 阅读(156) 评论(0) 推荐(0)

poj 2318 TOYS(计算几何 点与线段的关系)
摘要:TOYSTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 12015Accepted: 5792DescriptionCalculate the number of toys that land in each bin of a par... 阅读全文

posted @ 2015-08-17 09:01 鱼泪儿 阅读(156) 评论(0) 推荐(0)

计算几何基础(模板)
摘要:1.多边形面积计算1 double S(Point p[],int n) 2 { 3 double ans = 0; 4 p[n] = p[0]; 5 for(int i=1;i0) return 1; 6 ... 阅读全文

posted @ 2015-08-16 15:52 鱼泪儿 阅读(254) 评论(0) 推荐(0)

导航