关键词、易错点

This commit is contained in:
ljcjames 2022-08-13 08:23:58 +08:00
parent 031b915f28
commit c63567ce1b

View File

@ -4,7 +4,11 @@ https://vjudge.net/contest/508277#problem/I
造一堵城墙围着一个城堡城墙离最近不小于一定距离L如何使城墙最短
### 做法
用Graham法看PPT即按逆时针顺序找点左转入栈右转上一个出栈直到变成是右转求凸包再加上一个以L为半径的⚪的周长在转角的地方外角和=360
### 묏야분
### 关键词
Graham、凸包、结构体、栈、PI、eps、计算几何
### 易错点
(int)()记得加括号、scanf与&
### 工具箱
* Graham法求凸包 https://www.cnblogs.com/aiguona/p/7232243.html
* 构造函数结构体初始化https://www.cnblogs.com/Azurestars/p/15491714.html
* STL栈stack https://blog.csdn.net/potential1/article/details/72575705