![](https://img-blog.csdnimg.cn/20190927151101105.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
————几何————
1
BigZong
这个作者很懒,什么都没留下…
展开
-
叉积进行极角排序
对于上图,给定两个向量求两个向量叉积,可知叉积与两向量夹角θ有关,当θ为负数时叉积为负,反之为正。 有一个被称为右手定则的方法可以在这里用于判断θ的正负,四指方向为向量旋转方向,拇指指向为叉积方向,当拇指指向上方时为θ为正,反之为负。 想想sort函数,当我们要对sort进行从大到小顺序的排列时: ...原创 2020-03-24 12:00:19 · 877 阅读 · 0 评论 -
2013长沙区域赛——C.Collision(ZOJ 3728)
传送门 There's a round medal fixed on an ideal smooth table, Fancy is trying to throw some coins and make them slip towards the medal to collide. There's also a round range which shares exact the same c...原创 2019-04-20 20:47:48 · 185 阅读 · 0 评论