摘要: [TOC] 题面 题意:有两个人要从$[2, n]$中选数。任意从第一个人选出的数集中挑出一个数,记作a,任意从第二个人选出的数集中挑出一个数,记作b,若对所有的(a, b),gcd(a, b) =1, 则这种选数方案是合法的。问合法的选数的方案数(答案模$p$) 题解 这道题没什么高深的知识点, 阅读全文
posted @ 2019-10-19 19:59 懿路智行 阅读(158) 评论(0) 推荐(0) 编辑
摘要: https://www.prepscholar.com/ 外国留学 https://quizlet.com/zh cn 英语背单词 https://www.symbolab.com/solver/rational expression reduce calculator 各种解方程计算器 https 阅读全文
posted @ 2019-08-26 23:47 懿路智行 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Hello desmos! https://www.desmos.com/calculator/ubbsvikhr0 阅读全文
posted @ 2019-08-24 17:13 懿路智行 阅读(404) 评论(1) 推荐(0) 编辑
摘要: ```bash #!/bin/bash sudo apt-get install zsh python -y sudo apt-get install python-pip -y sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" pip in... 阅读全文
posted @ 2019-04-03 10:15 懿路智行 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 参考资料 https://oi.men.ci/fft notes/ 单位根(此类群均可) $ω^0, ω^1, \dots, ω^{n 1}互不相同$ $ω^k_n=ω^{2k}_{2n}$ $ω^{k+n/2}_n = ω^{ k}_n$ $ω_n^n=ω_n^0=1$ DFT $$ A =(a_ 阅读全文
posted @ 2019-03-07 18:43 懿路智行 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://www.lydsy.com/JudgeOnline/problem.php?id=1124 https://www.luogu.org/problemnew/show/P3472 分析 首先, 每个神枪手都只有一个目标. 若是把每个神枪手当成一个点来建图, 那么这个图每个点 阅读全文
posted @ 2019-03-03 12:02 懿路智行 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-01-20 21:05 懿路智行 阅读(4413) 评论(0) 推荐(1) 编辑
摘要: 对于实数$x_1, x_2\cdots x_{2007}$, 满足 $|x_2 x_1|+|x_3 x_2|+\cdots+|x_{2007} x_{2006}|=2007$ 设$y_k = \frac{\sum_{i=1}^{k}x_i}{k}$ , $1\leq k\leq 2007$, 求$\ 阅读全文
posted @ 2018-11-12 22:41 懿路智行 阅读(453) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/hk2291976/article/details/42196559 消除高亮 :noh 阅读全文
posted @ 2018-11-05 22:09 懿路智行 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 众所周知, ABC是一场水题盛宴, 也是一场AK盛宴. 但是我却没能AK. 原因也十分可笑: 我在一开始觉得题目太简单, 颓废了.直到我看了第4题之后才找到状态并A了此题...最后时间来不及第三题最后没有交上去 做第4题的过程中也是烦恼连连, 出现了很多不该出现的错误. 我得到了一个教训: 调试时不 阅读全文
posted @ 2018-11-04 22:10 懿路智行 阅读(513) 评论(0) 推荐(0) 编辑