
几何
文章平均质量分 86
墨碎江南
这个作者很懒,什么都没留下…
展开
-
Intersecting Lines
We 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) intersect原创 2017-11-01 13:21:46 · 285 阅读 · 0 评论 -
Segments
Given 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原创 2017-10-31 09:36:49 · 336 阅读 · 0 评论 -
The Doors
You 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原创 2017-11-01 21:27:26 · 253 阅读 · 0 评论 -
Pick-up sticks
Stan 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原创 2017-11-02 13:29:12 · 1555 阅读 · 0 评论 -
Shoring Up the Levees HDU - 3103 (计算几何)
The tiny country of Waterlogged is protected by a series of levees that form a quadrilateral as shown below: The quadrilateral is defined by four vertices. The levees partition the country into four q...原创 2018-05-08 17:29:18 · 198 阅读 · 0 评论