摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 在线笛卡尔坐标系绘图网站 核心思想 1.积角排序 2.双端队列维护半平面交 木有啦~~ 多边形相关 主程序 读入,如 阅读全文
posted @ 2017-03-25 17:26 墨鳌 阅读(178) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 好好领悟一下vector吧!加一行Left还可以判断是否在直线上... Intersect(L a,L b) Ret 阅读全文
posted @ 2017-03-21 21:11 墨鳌 阅读(252) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 题意见白书,P272~273 把之前的板子拼起来就可以了 ans=(S(木板)*100/S(凸包))% 板子太长,先 阅读全文
posted @ 2017-03-20 23:40 墨鳌 阅读(268) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 关键一句话 附加,极角排序,课上讲~~ 学了Andrew后,觉得Graham好丑,而且常数还大 唯一的好处是好写,其 阅读全文
posted @ 2017-03-20 23:00 墨鳌 阅读(170) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 利用一下叉积和栈 阅读全文
posted @ 2017-03-20 14:00 墨鳌 阅读(235) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 旋转,跳跃,梦境,之间... 阅读全文
posted @ 2017-03-19 23:52 墨鳌 阅读(342) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 看了书,然后码 阅读全文
posted @ 2017-03-19 23:23 墨鳌 阅读(204) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. BZOJ1898 Come On 图上求路径数问题 随机地加入一些“鱼”,它们的变化有周期性,且周期为2,3或4 人 阅读全文
posted @ 2017-03-18 19:03 墨鳌 阅读(111) 评论(0) 推荐(0) 编辑
摘要: This article is made by Jason-Cow.Welcome to reprint.But please post the article's address. 莫比乌斯定理(未完待续......): 形式1: 形式2: 引理: 证明1: 右边=带入左边等式,得 又当且仅当 : 阅读全文
posted @ 2017-03-14 20:13 墨鳌 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 校内CJOJ2395by Jesse Liu 筛法三合一 Euler、Möbius、Prime函数 基于数论的积性函数 gcd(a,b)=1 则 ƒ(ab)=ƒ(a)ƒ(b) 1 #include <algorithm> 2 #include <iostream> 3 #include <cstri 阅读全文
posted @ 2017-03-11 22:02 墨鳌 阅读(124) 评论(0) 推荐(0) 编辑