摘要: 587. Erect the Fence 题意:输出把所有点包围起来的轮廓线上的点 我的思路:凸包问题,Graham-Scan算法 我的代码: class Solution { public: static bool cmp(Point& a, Point& b) { if (a.y == b.y) 阅读全文
posted @ 2018-01-25 17:05 Silence、 阅读(483) 评论(0) 推荐(0) 编辑