摘要: Description: 题解: simpson积分,据说是用二次函数拟合,拟合圆这类图形有奇效。 即$g(x,y)=\int_x^y f(x)~dx≈(y-x)/6*(f(x)+4f((x+y)/2)+f(y))$ 自适应的话就是一直分治,直到$|g(a,b)-g(a,(a+b)/2)-g((a+ 阅读全文
posted @ 2020-06-01 21:45 Cold_Chair 阅读(337) 评论(0) 推荐(0) 编辑
摘要: Description: https://gmoj.net/senior/#main/show/6676 题解: 考虑用第二类斯特林数把$i^k$搞掉: \(Ans=2^n*f(0)(这一项提出来好,后面不写了)+\sum_{k=1}^m f(k)*\sum_{i=0}^n\binom{n}{i}* 阅读全文
posted @ 2020-06-01 21:30 Cold_Chair 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 页面定制 CSS 代码 /*添加按钮*/ .cnblogs-markdown pre { position: relative; } .cnblogs-markdown pre > span { position: absolute; top: 0; right: 0; border-radius: 阅读全文
posted @ 2020-06-01 20:06 Cold_Chair 阅读(299) 评论(0) 推荐(0) 编辑