
计算几何
文章平均质量分 87
m0_51864047
这个作者很懒,什么都没留下…
展开
-
Mr. Main and Windmills(计算几何,直线交点)
题目描述链接Mr. Main took a train from city sss to city ttt and passed a plain full of windmills. The train ran in a straight line. A windmill is a machine used for wind power generation. Its fan blades rotate when the wind blows. From his perspective, colorfu原创 2021-09-21 23:13:44 · 551 阅读 · 0 评论 -
杭电ACM-LCY算法进阶培训班-专题训练(计算几何入门)
杭电ACM-LCY算法进阶培训班-专题训练(计算几何入门)传送门 杭电ACM-LCY算法进阶培训班-专题训练(计算几何入门)Shape of HDUProblem DescriptionInputOutputSample InputSample Output代码改革春风吹满地Problem DescriptionInputOutputSample InputSample Output代码gxx's ProblemProblem DescriptionInputOutputSample InputSamp原创 2021-04-17 23:38:15 · 857 阅读 · 1 评论 -
Doors(计算几何)
链接思路当角 aaa 小于 π2\frac\pi22π 时,计算点到直线距离。当角 bbb 小于 π2\frac\pi22π 时,分两种情况:垂足在线段上,计算点到直线距离。垂足在线段延长线上,计算两点间距离(红色部分)。当角 bbb 大于 π2\frac\pi22π 时,计算点到直线距离:当角 aaa 和角 bbb 都小于 π2\frac\pi22π 时,分两种情况:当角 α\alphaα 小于 π2\frac\pi22π 时,计原创 2021-10-07 17:48:08 · 114 阅读 · 0 评论 -
2020ICPC上海 I Sky Garden(思维,几何)
链接题目描述Prof. Du and Prof. Pang plan to build a sky garden near the city of Allin. In the garden, there will be a plant maze consisting of straight and circular roads.On the blueprint of the plant maze, Prof. Du draws n{n}n circles indicating the circular原创 2021-11-25 11:30:53 · 576 阅读 · 0 评论 -
2020ICPC南京 Evil Coordinate(几何,模拟,构造)
链接题目描述A robot is standing on an infinite 2-dimensional plane. Programmed with a string s1s2⋯sns_1s_2\cdots s_ns1s2⋯sn of length nnn, where si∈{’U’,’D’,’L’,’R’}s_i \in \{\text{'U'}, \text{'D'}, \text{'L'}, \text{'R'}\}si∈{’U’,’D’,’L’,’R’}, the robot原创 2021-12-01 21:27:13 · 1057 阅读 · 0 评论