/*****home和头部开始**************************/ #home { margin: 0 auto; width: 72%;/*原始65*/ min-width: 980px;/*页面的最低宽度,也就是页面顶部的宽度*/ background-color: #fff; padding: 30px; margin-top: 50px; margin-bottom: 50px; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3); } /*头部导航栏*/ #navigator { font-size:15px; border-bottom: 1px solid #ededed; border-top: 1px solid #ededed; height: 60px;/*导航栏高度,原始50*/ clear: both; margin-top: 25px; } /*导航栏设置,可以自定义导航栏的目录*/ #navList { min-height: 35px; float: left; } #navList li { /*每一个栏目节点*/ float: left; margin: 0 5px 0 0; /*这里原来是0 40px 0 0 */ } #navList a { /*栏目文字的格式*/ display: block; width: 5em; height: 22px; float: left; text-align: center; padding-top: 19px; } img { max-width: 100%; }
摘要: 字符串哈希 树哈希 阅读全文
posted @ 2018-05-08 22:08 chenjingqi 阅读(184) 评论(0) 推荐(0) 编辑
摘要: //没什么好说的。。。。。。。#include #include #include #include #include #define ll long long #define maxn 500005 #define P 998244353 #define inv2 (P+1)>>1 #define g 3 using namespace std; int n,m; int A[maxn],B[... 阅读全文
posted @ 2018-05-08 22:03 chenjingqi 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 只会照着板打的蒟蒻。。 多项式求逆,详见:http://blog.miskcoo.com/2015/05/polynomial-inverse 下面是道板题(据说),题目传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=1952 阅读全文
posted @ 2018-04-28 20:19 chenjingqi 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 回顾一下朴素的BSGS算法,只能用来解p为质数情况下的a^x≡b(mod p) 若p不为质数呢,那就要用扩展BSGS算法了。 其实扩展BSGS算法只是在原有BSGS算法上加了一个能将原方程转移为能用朴素BSGS解决的算方程。 先看这样一个性质: 若A%P=B 则可以表示为A-P*x=B 假设d=gc 阅读全文
posted @ 2018-04-20 22:56 chenjingqi 阅读(134) 评论(0) 推荐(0) 编辑
摘要: FFT(快速傅里叶变换) BSGS算法 (map)求a^x=b(mod p)(p为质数) (Hash表) Catalan数 后缀自动机 SAM的拓扑排序 树状数组(加减以及求答案操作) 二逼平衡树(线段树套splay) 线性基(合并) 伪四维偏序(三维偏序)【[Ahoi2008]Rectangle 阅读全文
posted @ 2018-04-20 22:38 chenjingqi 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Hello World!!!!!!!! 本人蒟蒻一枚。。。 请多多关照。。。 (关爱蒟蒻 从我做起) 阅读全文
posted @ 2018-04-20 22:23 chenjingqi 阅读(68) 评论(0) 推荐(0) 编辑