<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Baoshuo&#39;s OI Blog</title>
  <icon>https://cdn.jsdelivr.net/npm/bsi@0.0.7/favicon/192x192.png</icon>
  
  <link href="https://oi.baoshuo.ren/atom.xml" rel="self"/>
  
  <link href="https://oi.baoshuo.ren/"/>
  <updated>2026-09-11T11:50:15.250Z</updated>
  <id>https://oi.baoshuo.ren/</id>
  
  <author>
    <name>宝硕</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>「NOI2003」逃学的小孩</title>
    <link href="https://oi.baoshuo.ren/noi2003-jerrygen/"/>
    <id>https://oi.baoshuo.ren/noi2003-jerrygen/</id>
    <published>2024-08-15T06:27:00.000Z</published>
    <updated>2026-09-11T11:50:15.250Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="图论" scheme="https://oi.baoshuo.ren/tags/%E5%9B%BE%E8%AE%BA/"/>
    
    <category term="NOI" scheme="https://oi.baoshuo.ren/tags/NOI/"/>
    
    <category term="2003" scheme="https://oi.baoshuo.ren/tags/2003/"/>
    
    <category term="树的直径" scheme="https://oi.baoshuo.ren/tags/%E6%A0%91%E7%9A%84%E7%9B%B4%E5%BE%84/"/>
    
  </entry>
  
  <entry>
    <title>「NOIP2023」词典</title>
    <link href="https://oi.baoshuo.ren/noip2023-dict/"/>
    <id>https://oi.baoshuo.ren/noip2023-dict/</id>
    <published>2023-11-18T14:18:24.000Z</published>
    <updated>2026-09-11T11:50:15.250Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="贪心" scheme="https://oi.baoshuo.ren/tags/%E8%B4%AA%E5%BF%83/"/>
    
    <category term="2023" scheme="https://oi.baoshuo.ren/tags/2023/"/>
    
    <category term="NOIP" scheme="https://oi.baoshuo.ren/tags/NOIP/"/>
    
  </entry>
  
  <entry>
    <title>「CSP-S 2023」密码锁</title>
    <link href="https://oi.baoshuo.ren/csp2023-lock/"/>
    <id>https://oi.baoshuo.ren/csp2023-lock/</id>
    <published>2023-11-14T12:24:58.000Z</published>
    <updated>2026-09-11T11:50:15.248Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="洛谷" scheme="https://oi.baoshuo.ren/tags/%E6%B4%9B%E8%B0%B7/"/>
    
    <category term="CSP-S" scheme="https://oi.baoshuo.ren/tags/CSP-S/"/>
    
    <category term="2023" scheme="https://oi.baoshuo.ren/tags/2023/"/>
    
    <category term="set" scheme="https://oi.baoshuo.ren/tags/set/"/>
    
  </entry>
  
  <entry>
    <title>我的 OI 生涯 —— 一名退役竞赛生的回忆录</title>
    <link href="https://oi.baoshuo.ren/oi/"/>
    <id>https://oi.baoshuo.ren/oi/</id>
    <published>2023-04-02T09:33:44.000Z</published>
    <updated>2026-09-11T11:50:15.250Z</updated>
    
    
    <summary type="html">在经历了不算短也不算长的四年半的时光后，我的 OI  生涯画上了一个并不算圆满的句号。是的，我退役了。</summary>
    
    
    
    <category term="杂项" scheme="https://oi.baoshuo.ren/categories/%E6%9D%82%E9%A1%B9/"/>
    
    
    <category term="OI" scheme="https://oi.baoshuo.ren/tags/OI/"/>
    
  </entry>
  
  <entry>
    <title>GNU time 简要使用教程</title>
    <link href="https://oi.baoshuo.ren/linux-time/"/>
    <id>https://oi.baoshuo.ren/linux-time/</id>
    <published>2023-04-01T11:43:37.000Z</published>
    <updated>2026-09-11T11:50:15.249Z</updated>
    
    
    <summary type="html">&lt;p&gt;众所周知，Linux 系统的许多 Shell 中都内置了 &lt;code&gt;time&lt;/code&gt; 命令，用于统计命令的运行资源消耗情况。但是，这个 Shell 内建命令的功能并不是很强大，甚至不能统计命令的内存使用情况。因此，如果要统计更加详细的某个命令的资源消耗情况，就需要使用 GNU time 命令了。&lt;/p&gt;</summary>
    
    
    
    <category term="杂项" scheme="https://oi.baoshuo.ren/categories/%E6%9D%82%E9%A1%B9/"/>
    
    
    <category term="Linux" scheme="https://oi.baoshuo.ren/tags/Linux/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 1824. qiu</title>
    <link href="https://oi.baoshuo.ren/s2oj-1824/"/>
    <id>https://oi.baoshuo.ren/s2oj-1824/</id>
    <published>2023-02-22T10:37:14.000Z</published>
    <updated>2026-09-11T11:50:15.251Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
    <category term="2021" scheme="https://oi.baoshuo.ren/tags/2021/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 631. 故事书</title>
    <link href="https://oi.baoshuo.ren/s2oj-631/"/>
    <id>https://oi.baoshuo.ren/s2oj-631/</id>
    <published>2023-02-20T06:39:10.000Z</published>
    <updated>2026-09-11T11:50:15.252Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 1153. 字符串</title>
    <link href="https://oi.baoshuo.ren/s2oj-1153/"/>
    <id>https://oi.baoshuo.ren/s2oj-1153/</id>
    <published>2023-02-15T11:47:09.000Z</published>
    <updated>2026-09-11T11:50:15.251Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="动态规划" scheme="https://oi.baoshuo.ren/tags/%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/"/>
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
    <category term="组合数学" scheme="https://oi.baoshuo.ren/tags/%E7%BB%84%E5%90%88%E6%95%B0%E5%AD%A6/"/>
    
    <category term="2018" scheme="https://oi.baoshuo.ren/tags/2018/"/>
    
    <category term="计数" scheme="https://oi.baoshuo.ren/tags/%E8%AE%A1%E6%95%B0/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 1912. 变异大老鼠</title>
    <link href="https://oi.baoshuo.ren/s2oj-1912/"/>
    <id>https://oi.baoshuo.ren/s2oj-1912/</id>
    <published>2023-02-11T10:54:23.000Z</published>
    <updated>2026-09-11T11:50:15.251Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="动态规划" scheme="https://oi.baoshuo.ren/tags/%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/"/>
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="树形 DP" scheme="https://oi.baoshuo.ren/tags/%E6%A0%91%E5%BD%A2-DP/"/>
    
  </entry>
  
  <entry>
    <title>向 #define int long long 说不</title>
    <link href="https://oi.baoshuo.ren/say-no-to-define-int-long-long/"/>
    <id>https://oi.baoshuo.ren/say-no-to-define-int-long-long/</id>
    <published>2023-02-08T02:24:53.000Z</published>
    <updated>2026-09-11T11:50:15.252Z</updated>
    
    
    <summary type="html">在算法竞赛社区中，经常能看见有人在代码中使用 #define int long long 来偷懒。这种做法会导致代码的可读性大大降低，并带来一些难以预料的问题。本文将从 C++ 标准定义的角度，解释为什么这种做法是不可取的。</summary>
    
    
    
    <category term="杂项" scheme="https://oi.baoshuo.ren/categories/%E6%9D%82%E9%A1%B9/"/>
    
    
    <category term="C++" scheme="https://oi.baoshuo.ren/tags/C/"/>
    
  </entry>
  
  <entry>
    <title>吉老师线段树模板</title>
    <link href="https://oi.baoshuo.ren/seg-beats/"/>
    <id>https://oi.baoshuo.ren/seg-beats/</id>
    <published>2023-01-09T00:20:37.000Z</published>
    <updated>2026-09-11T11:50:15.252Z</updated>
    
    
    
    
    <category term="笔记" scheme="https://oi.baoshuo.ren/categories/%E7%AC%94%E8%AE%B0/"/>
    
    
    <category term="数据结构" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    <category term="线段树" scheme="https://oi.baoshuo.ren/tags/%E7%BA%BF%E6%AE%B5%E6%A0%91/"/>
    
    <category term="吉老师线段树" scheme="https://oi.baoshuo.ren/tags/%E5%90%89%E8%80%81%E5%B8%88%E7%BA%BF%E6%AE%B5%E6%A0%91/"/>
    
  </entry>
  
  <entry>
    <title>左偏树学习笔记</title>
    <link href="https://oi.baoshuo.ren/leftist-tree/"/>
    <id>https://oi.baoshuo.ren/leftist-tree/</id>
    <published>2023-01-08T05:16:09.000Z</published>
    <updated>2026-09-11T11:50:15.249Z</updated>
    
    
    <summary type="html">&lt;p&gt;左偏树（Leftist Tree 或 Leftist Heap，又称左偏堆、左倾堆）是一种可以快速合并的可并堆，在统计问题、最值问题、模拟问题和贪心问题等等类型的题目中都有着广泛应用。&lt;/p&gt;</summary>
    
    
    
    <category term="笔记" scheme="https://oi.baoshuo.ren/categories/%E7%AC%94%E8%AE%B0/"/>
    
    
    <category term="数据结构" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    <category term="堆" scheme="https://oi.baoshuo.ren/tags/%E5%A0%86/"/>
    
    <category term="左偏树" scheme="https://oi.baoshuo.ren/tags/%E5%B7%A6%E5%81%8F%E6%A0%91/"/>
    
  </entry>
  
  <entry>
    <title>「POI2004」The competition</title>
    <link href="https://oi.baoshuo.ren/poi2004-zaw/"/>
    <id>https://oi.baoshuo.ren/poi2004-zaw/</id>
    <published>2023-01-06T02:44:06.000Z</published>
    <updated>2026-09-11T11:50:15.250Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="图论" scheme="https://oi.baoshuo.ren/tags/%E5%9B%BE%E8%AE%BA/"/>
    
    <category term="POI" scheme="https://oi.baoshuo.ren/tags/POI/"/>
    
    <category term="最短路" scheme="https://oi.baoshuo.ren/tags/%E6%9C%80%E7%9F%AD%E8%B7%AF/"/>
    
    <category term="Dijkstra" scheme="https://oi.baoshuo.ren/tags/Dijkstra/"/>
    
    <category term="2004" scheme="https://oi.baoshuo.ren/tags/2004/"/>
    
    <category term="二进制拆分" scheme="https://oi.baoshuo.ren/tags/%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%8B%86%E5%88%86/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 1816. 子集</title>
    <link href="https://oi.baoshuo.ren/s2oj-1816/"/>
    <id>https://oi.baoshuo.ren/s2oj-1816/</id>
    <published>2022-12-31T08:27:01.000Z</published>
    <updated>2026-09-11T11:50:15.251Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="二分" scheme="https://oi.baoshuo.ren/tags/%E4%BA%8C%E5%88%86/"/>
    
    <category term="2017" scheme="https://oi.baoshuo.ren/tags/2017/"/>
    
    <category term="长乐集训" scheme="https://oi.baoshuo.ren/tags/%E9%95%BF%E4%B9%90%E9%9B%86%E8%AE%AD/"/>
    
  </entry>
  
  <entry>
    <title>S2OJ - 1808. 数数</title>
    <link href="https://oi.baoshuo.ren/s2oj-1808/"/>
    <id>https://oi.baoshuo.ren/s2oj-1808/</id>
    <published>2022-12-25T09:23:47.000Z</published>
    <updated>2026-09-11T11:50:15.251Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="S2OJ" scheme="https://oi.baoshuo.ren/tags/S2OJ/"/>
    
    <category term="2017" scheme="https://oi.baoshuo.ren/tags/2017/"/>
    
    <category term="bitset" scheme="https://oi.baoshuo.ren/tags/bitset/"/>
    
    <category term="长乐集训" scheme="https://oi.baoshuo.ren/tags/%E9%95%BF%E4%B9%90%E9%9B%86%E8%AE%AD/"/>
    
    <category term="打表" scheme="https://oi.baoshuo.ren/tags/%E6%89%93%E8%A1%A8/"/>
    
  </entry>
  
  <entry>
    <title>「SDOI2017」相关分析</title>
    <link href="https://oi.baoshuo.ren/sdoi2017-relative/"/>
    <id>https://oi.baoshuo.ren/sdoi2017-relative/</id>
    <published>2022-12-06T15:11:30.000Z</published>
    <updated>2026-09-11T11:50:15.252Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
    <category term="数据结构" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    <category term="线段树" scheme="https://oi.baoshuo.ren/tags/%E7%BA%BF%E6%AE%B5%E6%A0%91/"/>
    
    <category term="2017" scheme="https://oi.baoshuo.ren/tags/2017/"/>
    
    <category term="SDOI" scheme="https://oi.baoshuo.ren/tags/SDOI/"/>
    
  </entry>
  
  <entry>
    <title>快速傅里叶变换（FFT）学习笔记</title>
    <link href="https://oi.baoshuo.ren/fast-fourier-transform/"/>
    <id>https://oi.baoshuo.ren/fast-fourier-transform/</id>
    <published>2022-12-02T13:37:11.000Z</published>
    <updated>2026-09-11T11:50:15.248Z</updated>
    
    
    <summary type="html">快速傅里叶变换（Fast Fourier Transform，FFT），是一种可以在 O(n log n) 的时间内完成的离散傅里叶变换（Discrete Fourier transform，DFT）算法，在 OI 中的主要应用之一是加速多项式乘法的计算。</summary>
    
    
    
    <category term="笔记" scheme="https://oi.baoshuo.ren/categories/%E7%AC%94%E8%AE%B0/"/>
    
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
    <category term="多项式" scheme="https://oi.baoshuo.ren/tags/%E5%A4%9A%E9%A1%B9%E5%BC%8F/"/>
    
    <category term="快速傅里叶变换" scheme="https://oi.baoshuo.ren/tags/%E5%BF%AB%E9%80%9F%E5%82%85%E9%87%8C%E5%8F%B6%E5%8F%98%E6%8D%A2/"/>
    
  </entry>
  
  <entry>
    <title>Gym102452I - Incoming Asteroids</title>
    <link href="https://oi.baoshuo.ren/gym-102452i/"/>
    <id>https://oi.baoshuo.ren/gym-102452i/</id>
    <published>2022-11-09T08:48:05.000Z</published>
    <updated>2026-09-11T11:50:15.248Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="set" scheme="https://oi.baoshuo.ren/tags/set/"/>
    
    <category term="ICPC" scheme="https://oi.baoshuo.ren/tags/ICPC/"/>
    
    <category term="优先队列" scheme="https://oi.baoshuo.ren/tags/%E4%BC%98%E5%85%88%E9%98%9F%E5%88%97/"/>
    
  </entry>
  
  <entry>
    <title>Gym104008M - Youth Finale</title>
    <link href="https://oi.baoshuo.ren/gym-104008m/"/>
    <id>https://oi.baoshuo.ren/gym-104008m/</id>
    <published>2022-11-08T14:12:17.000Z</published>
    <updated>2026-09-11T11:50:15.248Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="2022" scheme="https://oi.baoshuo.ren/tags/2022/"/>
    
    <category term="Codeforces" scheme="https://oi.baoshuo.ren/tags/Codeforces/"/>
    
    <category term="CCPC" scheme="https://oi.baoshuo.ren/tags/CCPC/"/>
    
    <category term="树状数组" scheme="https://oi.baoshuo.ren/tags/%E6%A0%91%E7%8A%B6%E6%95%B0%E7%BB%84/"/>
    
  </entry>
  
  <entry>
    <title>Gym103428G - Shinyruo and KFC</title>
    <link href="https://oi.baoshuo.ren/gym-103428g/"/>
    <id>https://oi.baoshuo.ren/gym-103428g/</id>
    <published>2022-10-14T14:19:17.000Z</published>
    <updated>2026-09-11T11:50:15.248Z</updated>
    
    
    
    
    <category term="题解" scheme="https://oi.baoshuo.ren/categories/%E9%A2%98%E8%A7%A3/"/>
    
    
    <category term="数学" scheme="https://oi.baoshuo.ren/tags/%E6%95%B0%E5%AD%A6/"/>
    
    <category term="Codeforces" scheme="https://oi.baoshuo.ren/tags/Codeforces/"/>
    
    <category term="组合数学" scheme="https://oi.baoshuo.ren/tags/%E7%BB%84%E5%90%88%E6%95%B0%E5%AD%A6/"/>
    
    <category term="2021" scheme="https://oi.baoshuo.ren/tags/2021/"/>
    
    <category term="Gym" scheme="https://oi.baoshuo.ren/tags/Gym/"/>
    
    <category term="CCPC" scheme="https://oi.baoshuo.ren/tags/CCPC/"/>
    
  </entry>
  
</feed>
