摘要: A:签到。 #include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> using namespace std; #define ll long 阅读全文
posted @ 2019-01-13 22:13 Gloid 阅读(319) 评论(0) 推荐(0) 编辑
摘要: A:签到。 #include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> using namespace std; #define ll long 阅读全文
posted @ 2019-01-13 01:37 Gloid 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 考虑先将平面图转化为对偶图。具体地,将无向边拆成两条有向边。每次考虑找到包围一个区域的所有边。对当前考虑的边,找到该边的反向边在该边终点的出边集中,按极角序排序的后继,这条后继边也是包围该区域的边。这样对偶图就建好了。 考虑怎么用对偶图解决原问题。将外围的无限域也作为对偶图中的一个点,以其为根随便找 阅读全文
posted @ 2019-01-13 01:27 Gloid 阅读(181) 评论(0) 推荐(0) 编辑