2013年7月14日

POJ 1066 Treasure Hunt(线段相交判断)

摘要: Treasure HuntTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 4797Accepted: 1998DescriptionArcheologists from the Antiquities and Curios Museum (ACM) have flown to Egypt to examine the great pyramid of Key-Ops. Using state-of-the-art technology they are able to determine that the lower floor 阅读全文

posted @ 2013-07-14 23:55 kuangbin 阅读(1649) 评论(0) 推荐(0) 编辑

POJ 2653 Pick-up sticks(判断线段相交)

摘要: Pick-up sticksTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 7699Accepted: 2843DescriptionStan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such that there is no 阅读全文

posted @ 2013-07-14 18:38 kuangbin 阅读(3075) 评论(0) 推荐(0) 编辑

POJ 1556 The Doors(线段交+最短路)

摘要: The DoorsTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 5210Accepted: 2124DescriptionYou are to find the length of the shortest path through a chamber containing obstructing walls. The chamber will always have sides at x = 0, x = 10, y = 0, and y = 10. The initial and final points of the p 阅读全文

posted @ 2013-07-14 12:58 kuangbin 阅读(2575) 评论(0) 推荐(0) 编辑

POJ 1269 Intersecting Lines(直线相交判断,求交点)

摘要: Intersecting LinesTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 8342Accepted: 3789DescriptionWe all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no intersection because they are parallel, 2) inter 阅读全文

posted @ 2013-07-14 09:49 kuangbin 阅读(2688) 评论(2) 推荐(1) 编辑

POJ 3304 Segments (直线和线段相交判断)

摘要: SegmentsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 7739Accepted: 2316DescriptionGiven n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments have at least one point in com 阅读全文

posted @ 2013-07-14 00:09 kuangbin 阅读(4488) 评论(4) 推荐(1) 编辑

导航

JAVASCRIPT: