-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37b1439
commit e7cf4eb
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
<p><img src="https://cdn.luogu.com.cn/upload/image_hosting/x3i7kkth.png" alt=""><br><img src="/img/kk.png" alt=""></p> | ||
<p>$f(x) = x^2+x+1$</p> | ||
<!-- flag of hidden posts --></div><div class="article-licensing box"><div class="licensing-title"><p>Test Article</p><p><a href="https://yttriumwillow.github.io/2023/10/26/Test-Article/">https://yttriumwillow.github.io/2023/10/26/Test-Article/</a></p></div><div class="licensing-meta level is-mobile"><div class="level-left"><div class="level-item is-narrow"><div><h6>作者</h6><p>YttriumWillow</p></div></div><div class="level-item is-narrow"><div><h6>发布于</h6><p>2023-10-26</p></div></div><div class="level-item is-narrow"><div><h6>更新于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>许可协议</h6><p><a class="icons" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="icon fab fa-creative-commons"></i></a><a class="icons" rel="noopener" target="_blank" title="Attribution" href="https://creativecommons.org/licenses/by/4.0/"><i class="icon fab fa-creative-commons-by"></i></a><a class="icons" rel="noopener" target="_blank" title="Noncommercial" href="https://creativecommons.org/licenses/by-nc/4.0/"><i class="icon fab fa-creative-commons-nc"></i></a></p></div></div></div></div></div><div class="article-tags is-size-7 mb-4"><span class="mr-2">#</span><a class="link-muted mr-2" rel="tag" href="/tags/Test-Posts/">Test Posts</a></div><!--!--></article></div><div class="card"><div class="card-content"><h3 class="menu-label has-text-centered">喜欢这篇文章?打赏一下作者吧</h3><div class="buttons is-centered"><a class="button donate" href="https://afdian.net/" target="_blank" rel="noopener" data-type="afdian"><span class="icon is-small"><i class="fas fa-charging-station"></i></span><span>爱发电</span></a><a class="button donate" data-type="alipay"><span class="icon is-small"><i class="fab fa-alipay"></i></span><span>支付宝</span><span class="qrcode"><img src="/img/nggu.png" alt="支付宝"></span></a></div></div></div><div class="card"><div class="card-content"><h3 class="title is-5">评论</h3><div id="comment-container"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script><script>var gitalk = new Gitalk({ | ||
id: "42c844c1beb490639f8467771384fa50", | ||
id: "c1ee90ffa5c687680f654368acae7ab0", | ||
repo: "yttriumwillow.github.io", | ||
owner: "YttriumWillow", | ||
clientID: "d0be7692f16c147fe4ed", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ <h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlin | |
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure> | ||
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p> | ||
<!-- flag of hidden posts --></div><div class="article-licensing box"><div class="licensing-title"><p>Hello World</p><p><a href="https://yttriumwillow.github.io/2023/10/26/hello-world/">https://yttriumwillow.github.io/2023/10/26/hello-world/</a></p></div><div class="licensing-meta level is-mobile"><div class="level-left"><div class="level-item is-narrow"><div><h6>作者</h6><p>YttriumWillow</p></div></div><div class="level-item is-narrow"><div><h6>发布于</h6><p>2023-10-26</p></div></div><div class="level-item is-narrow"><div><h6>更新于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>许可协议</h6><p><a class="icons" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="icon fab fa-creative-commons"></i></a><a class="icons" rel="noopener" target="_blank" title="Attribution" href="https://creativecommons.org/licenses/by/4.0/"><i class="icon fab fa-creative-commons-by"></i></a><a class="icons" rel="noopener" target="_blank" title="Noncommercial" href="https://creativecommons.org/licenses/by-nc/4.0/"><i class="icon fab fa-creative-commons-nc"></i></a></p></div></div></div></div></div><div class="article-tags is-size-7 mb-4"><span class="mr-2">#</span><a class="link-muted mr-2" rel="tag" href="/tags/Test-Posts/">Test Posts</a></div><!--!--></article></div><div class="card"><div class="card-content"><h3 class="menu-label has-text-centered">喜欢这篇文章?打赏一下作者吧</h3><div class="buttons is-centered"><a class="button donate" href="https://afdian.net/" target="_blank" rel="noopener" data-type="afdian"><span class="icon is-small"><i class="fas fa-charging-station"></i></span><span>爱发电</span></a><a class="button donate" data-type="alipay"><span class="icon is-small"><i class="fab fa-alipay"></i></span><span>支付宝</span><span class="qrcode"><img src="/img/nggu.png" alt="支付宝"></span></a></div></div></div><div class="card"><div class="card-content"><h3 class="title is-5">评论</h3><div id="comment-container"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script><script>var gitalk = new Gitalk({ | ||
id: "31b5a63149a1a571d2ceb35a1e7db822", | ||
id: "44ac41e3faa1715965ee31c08eb3e358", | ||
repo: "yttriumwillow.github.io", | ||
owner: "YttriumWillow", | ||
clientID: "d0be7692f16c147fe4ed", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ <h4 id="求-V"><a href="#求-V" class="headerlink" title="求 $V$"></a>求 $V$</ | |
&= \dfrac{x^4}{24} - \dfrac{x^3}{4} + \dfrac{23x^2}{24} - \dfrac{3x}{4} + 1 | ||
\end{aligned}</script><p>去 OEIS 上校验<a target="_blank" rel="noopener" href="https://oeis.org/A000127" title="result">结果</a>,正确。</p> | ||
</div><div class="article-licensing box"><div class="licensing-title"><p>P5377 [THUPC2019] 鸽鸽的分割 题解</p><p><a href="https://yttriumwillow.github.io/2023/10/27/P5377-THUPC2019-鸽鸽的分割-题解/">https://yttriumwillow.github.io/2023/10/27/P5377-THUPC2019-鸽鸽的分割-题解/</a></p></div><div class="licensing-meta level is-mobile"><div class="level-left"><div class="level-item is-narrow"><div><h6>作者</h6><p>YttriumWillow</p></div></div><div class="level-item is-narrow"><div><h6>发布于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>更新于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>许可协议</h6><p><a class="icons" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="icon fab fa-creative-commons"></i></a><a class="icons" rel="noopener" target="_blank" title="Attribution" href="https://creativecommons.org/licenses/by/4.0/"><i class="icon fab fa-creative-commons-by"></i></a><a class="icons" rel="noopener" target="_blank" title="Noncommercial" href="https://creativecommons.org/licenses/by-nc/4.0/"><i class="icon fab fa-creative-commons-nc"></i></a></p></div></div></div></div></div><div class="article-tags is-size-7 mb-4"><span class="mr-2">#</span><a class="link-muted mr-2" rel="tag" href="/tags/OI/">OI</a></div><!--!--></article></div><div class="card"><div class="card-content"><h3 class="menu-label has-text-centered">喜欢这篇文章?打赏一下作者吧</h3><div class="buttons is-centered"><a class="button donate" href="https://afdian.net/" target="_blank" rel="noopener" data-type="afdian"><span class="icon is-small"><i class="fas fa-charging-station"></i></span><span>爱发电</span></a><a class="button donate" data-type="alipay"><span class="icon is-small"><i class="fab fa-alipay"></i></span><span>支付宝</span><span class="qrcode"><img src="/img/nggu.png" alt="支付宝"></span></a></div></div></div><div class="card"><div class="card-content"><h3 class="title is-5">评论</h3><div id="comment-container"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script><script>var gitalk = new Gitalk({ | ||
id: "ffb30e4d529f59671d1a0723054436af", | ||
id: "2914208fc91d74fd5cc98ccfc751c5ea", | ||
repo: "yttriumwillow.github.io", | ||
owner: "YttriumWillow", | ||
clientID: "d0be7692f16c147fe4ed", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ <h3 id="思路"><a href="#思路" class="headerlink" title="思路"></a>思路</ | |
\end{aligned}</script><p>有了这个结论就可以愉快的刷<a target="_blank" rel="noopener" href="https://www.luogu.com.cn/paste/kyn1fe72">多倍经验</a>了。</p> | ||
<h3 id="贴个代码"><a href="#贴个代码" class="headerlink" title="贴个代码"></a>贴个代码</h3><figure class="highlight cpp"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">inline</span> <span class="type">void</span> <span class="title">Euler</span><span class="params">(i64 n)</span></span></span><br><span class="line"><span class="function"></span>{</span><br><span class="line"> phi[<span class="number">1</span>] = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">for</span> (reg <span class="type">int</span> i = <span class="number">2</span>; i <= n; ++i)</span><br><span class="line"> {</span><br><span class="line"> <span class="keyword">if</span> (!prime[i]) prime[++prime[<span class="number">0</span>]] = i, phi[i] = i - <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">for</span> (reg <span class="type">int</span> j = <span class="number">1</span>; j <= prime[<span class="number">0</span>] && i * prime[j] <= n; ++j)</span><br><span class="line"> {</span><br><span class="line"> prime[i * prime[j]] = <span class="number">1</span>;</span><br><span class="line"> <span class="keyword">if</span> (!(i % prime[j])) { </span><br><span class="line"> phi[i * prime[j]] = phi[i] * prime[j]; <span class="keyword">break</span>; }</span><br><span class="line"> <span class="keyword">else</span> phi[i * prime[j]] = phi[i] * phi[prime[j]];</span><br><span class="line"> }</span><br><span class="line"> }</span><br><span class="line"> <span class="keyword">for</span> (reg <span class="type">int</span> i = <span class="number">1</span>; i <= n; ++i)</span><br><span class="line"> phisum[i] = phisum[i - <span class="number">1</span>] + phi[i];</span><br><span class="line">}</span><br><span class="line"></span><br><span class="line"><span class="function"><span class="type">int</span> <span class="title">main</span><span class="params">()</span></span></span><br><span class="line"><span class="function"></span>{</span><br><span class="line"> <span class="built_in">Euler</span>(n);</span><br><span class="line"> <span class="keyword">for</span> (reg i64 i = <span class="number">1</span>; i <= n; ++i)</span><br><span class="line"> ans = (ans + ((i * i) % mod) * ((phisum[n / i] * <span class="number">2</span> - <span class="number">1</span>) % mod) % mod) % mod;</span><br><span class="line">}</span><br></pre></td></tr></table></figure> | ||
<!-- flag of hidden posts --></div><div class="article-licensing box"><div class="licensing-title"><p>公式渲染压力测试</p><p><a href="https://yttriumwillow.github.io/2023/10/27/公式渲染压力测试/">https://yttriumwillow.github.io/2023/10/27/公式渲染压力测试/</a></p></div><div class="licensing-meta level is-mobile"><div class="level-left"><div class="level-item is-narrow"><div><h6>作者</h6><p>YttriumWillow</p></div></div><div class="level-item is-narrow"><div><h6>发布于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>更新于</h6><p>2023-10-27</p></div></div><div class="level-item is-narrow"><div><h6>许可协议</h6><p><a class="icons" rel="noopener" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="icon fab fa-creative-commons"></i></a><a class="icons" rel="noopener" target="_blank" title="Attribution" href="https://creativecommons.org/licenses/by/4.0/"><i class="icon fab fa-creative-commons-by"></i></a><a class="icons" rel="noopener" target="_blank" title="Noncommercial" href="https://creativecommons.org/licenses/by-nc/4.0/"><i class="icon fab fa-creative-commons-nc"></i></a></p></div></div></div></div></div><div class="article-tags is-size-7 mb-4"><span class="mr-2">#</span><a class="link-muted mr-2" rel="tag" href="/tags/Test-Posts/">Test Posts</a></div><!--!--></article></div><div class="card"><div class="card-content"><h3 class="menu-label has-text-centered">喜欢这篇文章?打赏一下作者吧</h3><div class="buttons is-centered"><a class="button donate" href="https://afdian.net/" target="_blank" rel="noopener" data-type="afdian"><span class="icon is-small"><i class="fas fa-charging-station"></i></span><span>爱发电</span></a><a class="button donate" data-type="alipay"><span class="icon is-small"><i class="fab fa-alipay"></i></span><span>支付宝</span><span class="qrcode"><img src="/img/nggu.png" alt="支付宝"></span></a></div></div></div><div class="card"><div class="card-content"><h3 class="title is-5">评论</h3><div id="comment-container"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.css"><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gitalk.min.js"></script><script>var gitalk = new Gitalk({ | ||
id: "c663e25717086646d1c29b2b317c2e97", | ||
id: "3b608a3bf4ac2069253a7a1b7e4b55fc", | ||
repo: "yttriumwillow.github.io", | ||
owner: "YttriumWillow", | ||
clientID: "d0be7692f16c147fe4ed", | ||
|