<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="https://www.liuxiyu.cn/rss.xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <atom:link href="https://www.liuxiyu.cn/rss.xml" rel="self" type="application/rss+xml"/>
    <title>Lxy的博客</title>
    <link>https://www.liuxiyu.cn/</link>
    <description>Lxy Powered by VuePress@2.0.0-rc.31</description>
    <language>zh-CN</language>
    <pubDate>Thu, 03 Sep 2026 14:21:09 GMT</pubDate>
    <lastBuildDate>Thu, 03 Sep 2026 14:21:09 GMT</lastBuildDate>
    <generator>@vuepress/plugin-feed</generator>
    <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
    <category>学习笔记</category>
    <category>C++</category>
    <category>C#</category>
    <category>数学</category>
    <category>种花</category>
    <category>C++学习</category>
    <item>
      <title>🚧 哎呀，坦克迷路了</title>
      <link>https://www.liuxiyu.cn/404.html</link>
      <guid>https://www.liuxiyu.cn/404.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">🚧 哎呀，坦克迷路了</source>
      <description>🚧 404 — 坦克迷路了 🚁 🔍 🗺️ ❓ 看起来这辆坦克开丢了…… 可能的原因： 你输入的地址有误 🧭 这个页面被敌人的炮火击毁了 💥 它也许正在某个未知战场上巡逻 🚀 别慌，给你几个方向： 或者……你就在这原地画一辆新的坦克吧！🖊️ “迷路不可怕，可怕的是没有探索的勇气。” —— 某坦克兵</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[<div class="not-found-page">
<h1>🚧 404 — 坦克迷路了</h1>
<div class="tank-svg">
  🚁 🔍
  <pre>
    ████████████
   ██          ██
  ██   💥     ██
  ██          ██
   ██  ██████ ██
    ████████████
        ██  ██
        ██  ██
  </pre>
  🗺️ ❓
</div>
<h2>看起来这辆坦克开丢了……</h2>
<p>可能的原因：</p>
<ul>
<li>你输入的地址有误 🧭</li>
<li>这个页面被敌人的炮火击毁了 💥</li>
<li>它也许正在某个未知战场上巡逻 🚀</li>
</ul>
<h3>别慌，给你几个方向：</h3>
<p>| 操作          | 链接                               |<br>
|</p>
</div>]]></content:encoded>
    </item>
    <item>
      <title>意见投放箱</title>
      <link>https://www.liuxiyu.cn/FAQ/</link>
      <guid>https://www.liuxiyu.cn/FAQ/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">意见投放箱</source>
      <description>意见投放箱 上传txt意见</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<h3>上传txt意见</h3>
]]></content:encoded>
    </item>
    <item>
      <title>以色列旅行文化礼仪清单：畅游以色列必备</title>
      <link>https://www.liuxiyu.cn/GeoGraphy/</link>
      <guid>https://www.liuxiyu.cn/GeoGraphy/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">以色列旅行文化礼仪清单：畅游以色列必备</source>
      <description>以色列旅行文化礼仪清单：畅游以色列必备 这里为你清晰梳理以色列的自然环境特点与人文习俗的核心内容： 自然环境特点 地理位置与地形：位于亚洲西部、地中海东岸，亚非欧三洲交界处；国土狭长，地形多样。西部是地中海沿岸平原（主要农业区）；中北部为山地丘陵（最高峰梅隆山1208米）；南部的内盖夫沙漠占国土一半以上；东部约旦河谷是东非大裂谷延伸，死海为世界陆地最低...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<p>这里为你清晰梳理以色列的<strong>自然环境特点</strong>与<strong>人文习俗</strong>的核心内容：</p>
<h3>自然环境特点</h3>
<ol>
<li>
<p><strong>地理位置与地形</strong>：位于亚洲西部、地中海东岸，亚非欧三洲交界处；国土狭长，地形多样。西部是地中海沿岸平原（主要农业区）；中北部为山地丘陵（最高峰梅隆山1208米）；南部的<strong>内盖夫沙漠</strong>占国土一半以上；东部约旦河谷是东非大裂谷延伸，<strong>死海</strong>为世界陆地最低点（-430米左右），加利利湖是最重要的淡水湖。</p>
</li>
<li>
<p><strong>气候</strong>：北部与沿海是典型<strong>地中海气候</strong>，夏季炎热干燥、冬季温和多雨；南部沙漠为<strong>热带沙漠气候</strong>，全年干旱少雨，温差极大。降水分布极不均，北部年降水量可达900mm，南部沙漠仅30mm左右。</p>
</li>
<li>
<p><strong>水资源与植被</strong>：淡水资源极度匮乏，靠海水淡化、污水回用、节水农业支撑；植被呈带状分布，北部有森林、灌丛，南部沙漠以耐旱植物为主；矿产资源不丰富，有钾盐、石灰石、铜等。</p>
</li>
</ol>
<h3>人文习俗</h3>
<ol>
<li>
<p><strong>人口与语言</strong>：以犹太人为主体（约75%），阿拉伯人约20%；官方语言是<strong>希伯来语</strong>和<strong>阿拉伯语</strong>，英语广泛通用；希伯来语从宗教文献语言复兴为日常用语是文化奇迹。</p>
</li>
<li>
<p><strong>宗教与核心传统</strong></p>
<ul>
<li>
<p>主要宗教是<strong>犹太教</strong>，另有伊斯兰教、基督教群体；犹太教对日常生活影响深远。</p>
</li>
<li>
<p><strong>安息日</strong>：周五日落至周六日落，传统社区商店、公交基本停运，人们团聚祈祷，不从事劳作；</p>
</li>
<li>
<p><strong>犹太洁食（Kosher）</strong>：禁食猪肉、贝类等；肉类与奶制品不可同食且需分开餐具；</p>
</li>
<li>
<p>问候常用 <strong>Shalom</strong>（意为和平，兼作你好、再见）。</p>
</li>
</ul>
</li>
<li>
<p><strong>重要节日</strong></p>
<ul>
<li>
<p>逾越节（3-4月）：纪念出埃及，家宴吃无酵饼；</p>
</li>
<li>
<p>犹太新年、赎罪日（9-10月）：重要的忏悔与祈祷节日；</p>
</li>
<li>
<p>光明节（12月左右）：8天，点燃烛台，吃油炸土豆饼、果酱甜甜圈，儿童玩陀螺。</p>
</li>
</ul>
</li>
<li>
<p><strong>饮食与文化</strong>：传统美食有<strong>法拉费（炸鹰嘴豆丸子）</strong>、<strong>鹰嘴豆泥（Hummus）</strong>、沙威玛、烤鱼；流行霍拉舞（人们手拉手围成圈跳舞）；兼具宗教传统底蕴与移民带来的多元现代文化。</p>
</li>
</ol>
<p>我可以帮你整理一份<strong>以色列旅行的文化礼仪清单</strong>，方便你去当地时避免失礼，需要吗？</p>
]]></content:encoded>
    </item>
    <item>
      <title>信息AI</title>
      <link>https://www.liuxiyu.cn/InformationAI/</link>
      <guid>https://www.liuxiyu.cn/InformationAI/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">信息AI</source>
      <description>信息AI 传送门： 介绍: 神经网络: 电脑病毒: 加密: 信息课图片:点击下载1 信息课图片:点击下载2</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<h2>传送门：</h2>
<h3>介绍:<a href="/InformationAI/Introduction/" target="_blank">传送门</a></h3>
<h3>神经网络:<a href="/InformationAI/NeuralNetwork/" target="_blank">传送门</a></h3>
<h3>电脑病毒:<a href="/InformationAI/ComputerVirus/" target="_blank">传送门</a></h3>
<h3>加密:<a href="/InformationAI/Encryption/" target="_blank">传送门</a></h3>
<h3>信息课图片:<a href="https://liuxiyu.lanzouu.com/i6sgz3b7ge2j" target="_blank">点击下载1</a></h3>
<h3>信息课图片:<a href="https://liuxiyu.lanzouy.com/i6sgz3b7ge2j" target="_blank">点击下载2</a></h3>
]]></content:encoded>
    </item>
    <item>
      <title>Lxy和核巨啸的坦克网站 MIT License</title>
      <link>https://www.liuxiyu.cn/LICENSE/</link>
      <guid>https://www.liuxiyu.cn/LICENSE/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">Lxy和核巨啸的坦克网站 MIT License</source>
      <description>Lxy和核巨啸的坦克网站 MIT License 本项目的版权声明 Copyright (c) 2024 MEMZ-CHROER, LiuXiYu, 核巨啸 本项目的所有代码均采用 MIT 协议开源 MIT License Permission is hereby granted, free of charge, to any person obtai...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<h2>本项目的版权声明</h2>
<h3>Copyright (c) 2024 MEMZ-CHROER, LiuXiYu, 核巨啸</h3>
<h3>本项目的所有代码均采用 MIT 协议开源</h3>
<h2>MIT License</h2>
<h4>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</h4>
<h4>1. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</h4>
<h4>2. THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</h4>
]]></content:encoded>
    </item>
    <item>
      <title>学习笔记</title>
      <link>https://www.liuxiyu.cn/Learning/</link>
      <guid>https://www.liuxiyu.cn/Learning/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">学习笔记</source>
      <description>📚 学习笔记 记录学习路上的思考与总结。 这里汇总我在编程、数学等领域的笔记与心得。 目录 — 从零开始学编程的基础概念 — 有趣的数学推导与发现 持续更新中，欢迎一起交流。</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p>记录学习路上的思考与总结。</p>
</blockquote>
<p>这里汇总我在编程、数学等领域的笔记与心得。</p>
<h2>目录</h2>
<ul>
<li><a href="/Learning/programming.html" target="_blank">🖥️ 我的第一份编程笔记</a> — 从零开始学编程的基础概念</li>
<li><a href="/Learning/math.html" target="_blank">🧮 数学小记</a> — 有趣的数学推导与发现</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>有趣的数学推导</title>
      <link>https://www.liuxiyu.cn/Learning/math.html</link>
      <guid>https://www.liuxiyu.cn/Learning/math.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">有趣的数学推导</source>
      <description>🧮 有趣的数学推导 数学不是枯燥的公式，而是一场解谜游戏。 为什么喜欢数学？ 数学是一种通用的语言。不管是物理、编程还是生活里的找零钱，背后都有数学的影子。它让我们能用逻辑去解释世界。 一个经典谜题：幻方 &amp;quot;幻方&amp;quot;是一个方格阵，要求每行、每列、两条对角线的数字和都相等。 三阶幻方（3×3）最常见，比如： 每行、每列、对角线的和都是...</description>
      <category>学习笔记</category>
      <pubDate>Mon, 10 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p>数学不是枯燥的公式，而是一场解谜游戏。</p>
</blockquote>
<h2>为什么喜欢数学？</h2>
<p>数学是一种<strong>通用的语言</strong>。不管是物理、编程还是生活里的找零钱，背后都有数学的影子。它让我们能用逻辑去解释世界。</p>
<h2>一个经典谜题：幻方</h2>
<p>&quot;幻方&quot;是一个方格阵，要求<strong>每行、每列、两条对角线的数字和都相等</strong>。</p>
<p>三阶幻方（3×3）最常见，比如：</p>
<div class="language- line-numbers-mode" data-highlighter="shiki" data-ext style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-"><span class="line"><span>8  1  6</span></span>
<span class="line"><span>3  5  7</span></span>
<span class="line"><span>4  9  2</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><p>每行、每列、对角线的和都是 <strong>15</strong>。</p>
<h3>有趣的性质</h3>
<p>在任意三阶幻方里，<strong>中心数</strong>一定是整组数的平均值的三分之一位置的数。而相对的位置（如左上角和右下角）之和，总是中心数的两倍。</p>
<p>这些看似巧合的规律，其实都能用代数推导出来——这正是数学的魅力。</p>
<h2>数学小技巧</h2>
<ul>
<li><strong>画图理解</strong>：把抽象问题画出来，往往一目了然</li>
<li><strong>举例子</strong>：先用小数字试，找规律再推广</li>
<li><strong>逆向思考</strong>：从结果往回推，常常有惊喜</li>
</ul>
<h2>更多内容</h2>
<p>本站还有更深入的 <a href="/maths/" target="_blank">三阶幻方推导</a> 专题，可以去看看。</p>
]]></content:encoded>
    </item>
    <item>
      <title>我的第一份编程笔记</title>
      <link>https://www.liuxiyu.cn/Learning/programming.html</link>
      <guid>https://www.liuxiyu.cn/Learning/programming.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">我的第一份编程笔记</source>
      <description>🖥️ 我的第一份编程笔记 用最简单的话，讲清楚编程到底是什么。 什么是编程？ 编程就是给计算机下达指令，让它按照你的想法去执行任务。就像写菜谱一样，你告诉计算机每一步该做什么。 最基础的概念 1. 变量（Variable） 变量是用来存东西的盒子。每个盒子有名字，里面可以放数字、文字等。 2. 条件判断（if） 让程序&amp;quot;看情况做事&amp;quot...</description>
      <category>学习笔记</category>
      <pubDate>Mon, 10 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p>用最简单的话，讲清楚编程到底是什么。</p>
</blockquote>
<h2>什么是编程？</h2>
<p>编程就是<strong>给计算机下达指令</strong>，让它按照你的想法去执行任务。就像写菜谱一样，你告诉计算机每一步该做什么。</p>
<h2>最基础的概念</h2>
<h3>1. 变量（Variable）</h3>
<p>变量是<strong>用来存东西的盒子</strong>。每个盒子有名字，里面可以放数字、文字等。</p>
<div class="language-csharp line-numbers-mode" data-highlighter="shiki" data-ext="csharp" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-csharp"><span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">int</span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75"> age</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> =</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> 12</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">;        </span><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic">// 存一个整数 12</span></span>
<span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">string</span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75"> name</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> =</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> "Lxy"</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">; </span><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic">// 存一段文字 "Lxy"</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div></div></div><h3>2. 条件判断（if）</h3>
<p>让程序&quot;看情况做事&quot;：</p>
<div class="language-csharp line-numbers-mode" data-highlighter="shiki" data-ext="csharp" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-csharp"><span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">if</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF"> (</span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75">age</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> >=</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> 18</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">)</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">{</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#E5C07B">    Console</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">.</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">WriteLine</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">(</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">"成年了"</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">);</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">}</span></span>
<span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">else</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">{</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#E5C07B">    Console</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">.</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">WriteLine</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">(</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">"还是小朋友"</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">);</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">}</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h3>3. 循环（Loop）</h3>
<p>让程序<strong>重复做事</strong>：</p>
<div class="language-csharp line-numbers-mode" data-highlighter="shiki" data-ext="csharp" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-csharp"><span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">for</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF"> (</span><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">int</span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75"> i</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> =</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> 1</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">; </span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75">i</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> &#x3C;=</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> 5</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">; </span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75">i</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2">++</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">)</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">{</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#E5C07B">    Console</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">.</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">WriteLine</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">(</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">"第"</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> +</span><span style="--shiki-light:#383A42;--shiki-dark:#E06C75"> i</span><span style="--shiki-light:#383A42;--shiki-dark:#56B6C2"> +</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> "次"</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">);</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">}</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h2>为什么要学编程？</h2>
<ul>
<li>锻炼<strong>逻辑思维</strong>：像解题一样拆解问题</li>
<li>创造<strong>自己的工具</strong>：做游戏、做网站、自动化任务</li>
<li>学会<strong>和机器对话</strong>：理解现代科技是怎么运作的</li>
</ul>
<h2>学习建议</h2>
<ol>
<li><strong>多动手</strong>：光看不练假把式，每个例子都敲一遍</li>
<li><strong>从简单开始</strong>：先掌握变量、判断、循环这&quot;三板斧&quot;</li>
<li><strong>不怕报错</strong>：错误是老师，看懂报错信息就能进步</li>
</ol>
]]></content:encoded>
    </item>
    <item>
      <title>关于本站</title>
      <link>https://www.liuxiyu.cn/about/</link>
      <guid>https://www.liuxiyu.cn/about/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">关于本站</source>
      <description>👋 关于本站 🚀 这是啥 一个关于手绘坦克、编程学习和奇思妙想的个人网站。 用 VuePress 2 搭建，托管在 GitHub Pages，评论用 Twikoo + Railway。 🧑 关于我 正在努力成为一个会写代码、会画坦克、会种枇杷树的斜杠少年 🎯 技能树： 📜 建站历程 🛠️ 技术栈 🧩 插件生态 本站基于 VuePress ...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<div class="about-page">
<h2>🚀 这是啥</h2>
<p>一个关于<strong>手绘坦克</strong>、<strong>编程学习</strong>和<strong>奇思妙想</strong>的个人网站。</p>
<p>用 <a href="https://v2.vuepress.vuejs.org/" target="_blank" rel="noopener noreferrer">VuePress 2</a> 搭建，托管在 GitHub Pages，评论用 Twikoo + Railway。</p>
<h2>🧑 关于我</h2>
<blockquote class="about-quote">
正在努力成为一个会写代码、会画坦克、会种枇杷树的斜杠少年 🎯
</blockquote>
<p><strong>技能树：</strong></p>
<p>| 技能                         | 进度            |<br>
|</p>
</div>]]></content:encoded>
    </item>
    <item>
      <title>C++ 讲义</title>
      <link>https://www.liuxiyu.cn/cpp/</link>
      <guid>https://www.liuxiyu.cn/cpp/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">C++ 讲义</source>
      <description>📘 C++ 讲义 这里是我（Lxy）和老师一起整理的 C++ 学习讲义，从入门到算法、数据结构，循序渐进。 📚 内容结构 数组、变量、控制结构、函数、指针、作用域等基础知识点。 复杂度、递归、分治、贪心、动态规划、回溯、排序等经典算法。 栈、队列、树、堆、图、哈夫曼树、表达式等核心数据结构。 🎯 适合谁 刚开始学 C++ 的初学者 备战 NOI ...</description>
      <category>C++</category>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<p>这里是我（Lxy）和老师一起整理的 C++ 学习讲义，从入门到算法、数据结构，循序渐进。</p>
<h2>📚 内容结构</h2>
<ul>
<li>
<p><strong><a href="/cpp/introduction/" target="_blank">C++ 入门</a></strong><br>
数组、变量、控制结构、函数、指针、作用域等基础知识点。</p>
</li>
<li>
<p><strong><a href="/cpp/algorithm/" target="_blank">算法</a></strong><br>
复杂度、递归、分治、贪心、动态规划、回溯、排序等经典算法。</p>
</li>
<li>
<p><strong><a href="/cpp/datastructure/" target="_blank">数据结构</a></strong><br>
栈、队列、树、堆、图、哈夫曼树、表达式等核心数据结构。</p>
</li>
</ul>
<h2>🎯 适合谁</h2>
<ul>
<li>刚开始学 C++ 的初学者</li>
<li>备战 NOI / CSP 的竞赛选手</li>
<li>想系统复习 C++ 基础的任何人</li>
</ul>
<h2>📌 小贴士</h2>
<p>这些讲义偏&quot;参考&quot;性质，可以按需查阅。想看我写的更通俗的实战文章，可以逛逛<a href="/article/" target="_blank">文章列表</a>。</p>
]]></content:encoded>
    </item>
    <item>
      <title>友情链接</title>
      <link>https://www.liuxiyu.cn/friends/</link>
      <guid>https://www.liuxiyu.cn/friends/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">友情链接</source>
      <description>🤝 友情链接 “一辆坦克太孤单，一群坦克才热闹。” 🏠 主站 🏠 Lxy 的主站 个人网站主站 www.liuxiyu.cn 💬 聊天室 在线聊天室 chat.liuxiyu.dpdns.org 📝 C++ 讲义 C++ 学习笔记 notes.liuxiyu.dpdns.org 💻 CSEL 编程组织 编程学习交流 csel.dpdns.o...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p><em>“一辆坦克太孤单，一群坦克才热闹。”</em></p>
</blockquote>
<div class="friends-page">
<h2>🏠 主站</h2>
<div class="friend-card">
  <a href="https://www.liuxiyu.cn" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">🏠</div>
    <div class="friend-info">
      <div class="friend-name">Lxy 的主站</div>
      <div class="friend-desc">个人网站主站 www.liuxiyu.cn</div>
    </div>
  </a>
</div>
<div class="friend-card">
  <a href="https://chat.liuxiyu.dpdns.org" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">💬</div>
    <div class="friend-info">
      <div class="friend-name">聊天室</div>
      <div class="friend-desc">在线聊天室 chat.liuxiyu.dpdns.org</div>
    </div>
  </a>
</div>
<div class="friend-card">
  <a href="https://notes.liuxiyu.dpdns.org" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">📝</div>
    <div class="friend-info">
      <div class="friend-name">C++ 讲义</div>
      <div class="friend-desc">C++ 学习笔记 notes.liuxiyu.dpdns.org</div>
    </div>
  </a>
</div>
<div class="friend-card">
  <a href="https://csel.dpdns.org" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">💻</div>
    <div class="friend-info">
      <div class="friend-name">CSEL 编程组织</div>
      <div class="friend-desc">编程学习交流 csel.dpdns.org</div>
    </div>
  </a>
</div>
<div class="friend-card">
  <a href="https://www.github.com/MEMZ-CHROER" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">🐙</div>
    <div class="friend-info">
      <div class="friend-name">MEMZ-CHROER</div>
      <div class="friend-desc">GitHub 主页，代码仓库都在这里</div>
    </div>
  </a>
</div>
<h2>👥 小伙伴们</h2>
<div class="friend-card">
  <a href="https://github.com/chao-smile" target="_blank" rel="noopener noreferrer">
    <div class="friend-avatar">😄</div>
    <div class="friend-info">
      <div class="friend-name">chao-smile</div>
      <div class="friend-desc">合作小伙伴，共同维护中</div>
    </div>
  </a>
</div>
<h2>🔗 申请友链</h2>
<p>如果你想交换友情链接，可以到评论区留言或者提交 Issue：</p>
<div class="language- line-numbers-mode" data-highlighter="shiki" data-ext style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-"><span class="line"><span>站点名称：你的网站名</span></span>
<span class="line"><span>站点链接：https://example.com</span></span>
<span class="line"><span>站点简介：一句话介绍</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><blockquote>
<p>💡 已登录的协作编辑者可直接点击右下角 ✏️ 按钮编辑本页，添加你的友链卡片。</p>
</blockquote>
</div>]]></content:encoded>
    </item>
    <item>
      <title>🤝 投稿指南（C# 社区）</title>
      <link>https://www.liuxiyu.cn/csharp/CONTRIBUTING.html</link>
      <guid>https://www.liuxiyu.cn/csharp/CONTRIBUTING.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">🤝 投稿指南（C# 社区）</source>
      <description>🤝 投稿指南（C# 社区） 欢迎为 C# 社区专区贡献内容！这里是参与方式。 📌 仓库地址 GitHub: https://github.com/MEMZ-CHROER/vuepress-website 本仓库是公开的，任何人都可以参与贡献。 🚀 投稿流程（PR 方式） Fork 仓库 打开 vuepress-website，点击右上角 Fork...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<p>欢迎为 C# 社区专区贡献内容！这里是参与方式。</p>
<h2>📌 仓库地址</h2>
<p><strong>GitHub</strong>: <code>https://github.com/MEMZ-CHROER/vuepress-website</code></p>
<p>本仓库是公开的，任何人都可以参与贡献。</p>
<h2>🚀 投稿流程（PR 方式）</h2>
<ol>
<li>
<p><strong>Fork 仓库</strong><br>
打开 <a href="https://github.com/MEMZ-CHROER/vuepress-website" target="_blank" rel="noopener noreferrer">vuepress-website</a>，点击右上角 <strong>Fork</strong>，把仓库复制到你自己的账号。</p>
</li>
<li>
<p><strong>克隆你的 Fork</strong></p>
<div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-bash"><span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">git</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> clone</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> https://github.com/</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">&#x3C;</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">你的用户</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">名></span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">/vuepress-website.git</span></span>
<span class="line"><span style="--shiki-light:#0184BC;--shiki-dark:#56B6C2">cd</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> vuepress-website</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div></div></div></li>
<li>
<p><strong>创建分支</strong></p>
<div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-bash"><span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">git</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> checkout</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -b</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> add-csharp-article</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div></div></div></li>
<li>
<p><strong>添加文章</strong><br>
在 <code>docs/csharp/</code> 目录下新建一个 <code>.md</code> 文件，例如 <code>docs/csharp/a.md</code>。<br>
<strong>请使用下面的模板</strong>。</p>
</li>
<li>
<p><strong>提交并推送</strong></p>
<div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-bash"><span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">git</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> add</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> docs/csharp/</span></span>
<span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">git</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> commit</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -m</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> "docs: 添加 C# 文章 xxx"</span></span>
<span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">git</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> push</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> origin</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> add-csharp-article</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div></li>
<li>
<p><strong>发起 Pull Request</strong><br>
回到 GitHub 你的 Fork 仓库，点击 <strong>Compare &amp; pull request</strong>，把改动提交到原仓库的 <code>master</code> 分支。<br>
等管理员审核合并。</p>
</li>
</ol>
<h2>📝 文章格式规范</h2>
<p>每篇文章开头需要一段 <strong>frontmatter</strong>（YAML 元数据），格式如下：</p>
<div class="language-yaml line-numbers-mode" data-highlighter="shiki" data-ext="yaml" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-yaml"><span class="line"></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div></div></div>]]></content:encoded>
    </item>
    <item>
      <title>C# 社区</title>
      <link>https://www.liuxiyu.cn/csharp/</link>
      <guid>https://www.liuxiyu.cn/csharp/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">C# 社区</source>
      <description>🌐 C# 社区 这里是与社区一起维护的 C# 内容专区。欢迎大家共同贡献、完善。 📝 说明 本页与社区协作维护 后续会陆续添加更多内容 敬请期待 🤝 参与方式 这是一个开源协作的专区！如果你也想贡献内容，请阅读 ，通过 GitHub Pull Request 提交你的文章。 📝 不知道怎么开始？先看 📄 需要模板？看</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<p>这里是与社区一起维护的 C# 内容专区。欢迎大家共同贡献、完善。</p>
<h2>📝 说明</h2>
<ul>
<li>本页与社区协作维护</li>
<li>后续会陆续添加更多内容</li>
<li>敬请期待</li>
</ul>
<h2>🤝 参与方式</h2>
<p>这是一个开源协作的专区！如果你也想贡献内容，请阅读 <strong><a href="/csharp/CONTRIBUTING.html" target="_blank">投稿指南</a></strong>，通过 GitHub Pull Request 提交你的文章。</p>
<ul>
<li>📝 不知道怎么开始？先看<strong><a href="/csharp/CONTRIBUTING.html" target="_blank">投稿指南</a></strong></li>
<li>📄 需要模板？看<a href="/csharp/template.html" target="_blank">文章模板</a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>你的文章标题</title>
      <link>https://www.liuxiyu.cn/csharp/template.html</link>
      <guid>https://www.liuxiyu.cn/csharp/template.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">你的文章标题</source>
      <description>你的文章标题 一、背景/前言 二、正文 三、小结 感谢阅读！如果你觉得有用，欢迎给仓库点个 Star ⭐</description>
      <category>C#</category>
      <pubDate>Sat, 22 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<!-- 开头用一两句话介绍这篇文章要讲什么 -->
<h2>一、背景/前言</h2>
<!-- 这里写为什么写这篇、读者需要什么前置知识 -->
<h2>二、正文</h2>
<!-- 正文，用 ## 分小节，支持代码块 -->
<div class="language-csharp line-numbers-mode" data-highlighter="shiki" data-ext="csharp" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-csharp"><span class="line"><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic">// 示例代码</span></span>
<span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">using</span><span style="--shiki-light:#C18401;--shiki-dark:#E5C07B"> System</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">class</span><span style="--shiki-light:#C18401;--shiki-dark:#E5C07B"> Program</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">{</span></span>
<span class="line"><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD">    static</span><span style="--shiki-light:#A626A4;--shiki-dark:#C678DD"> void</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF"> Main</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">()</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">    {</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#E5C07B">        Console</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">.</span><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">WriteLine</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">(</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379">"Hello, C#!"</span><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">);</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">    }</span></span>
<span class="line"><span style="--shiki-light:#383A42;--shiki-dark:#ABB2BF">}</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h2>三、小结</h2>
<!-- 总结要点 -->
]]></content:encoded>
    </item>
    <item>
      <title></title>
      <link>https://www.liuxiyu.cn/fujian/</link>
      <guid>https://www.liuxiyu.cn/fujian/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml"></source>
      <description>lxy的附件表（请按快捷键 Ctrl+F 来搜索内容） EP1 - 不会搭建服务器？不会做网站？WordPress使用 ● WordPress（官网）: 点击这里 ● 几千寒热（教程） : 点击这里 EP2 - 我的服务器我做主！Phpstudy使用 ● Phpstudy（官网）: 点击这里 EP3 - Markdown编辑器！ ● MarkdownP...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[<blockquote>
<p>lxy的附件表（请按快捷键 Ctrl+F 来搜索内容）</p>
</blockquote>
]]></content:encoded>
    </item>
    <item>
      <title></title>
      <link>https://www.liuxiyu.cn/maths/</link>
      <guid>https://www.liuxiyu.cn/maths/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml"></source>
      <description>我们先对3阶幻方进行通用字母建模，再推导2b+f​=g 成立的约束条件，具体步骤如下： 步骤1：定义3阶幻方的通用字母矩阵 设3阶幻方的数字排布为： 根据3阶幻方的核心性质，每行、每列、两条对角线的和相等，设这个相等的和为S，因此有以下基础等式： 第一行和：a+b+c=S 第二行和：d+e+f=S 第三行和：g+h+i=S 第一列和：a+d+g=S 第...</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[<p>我们先对3阶幻方进行通用字母建模，再推导<span v-pre class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mfrac><mrow><mi>b</mi><mo>+</mo><mi>f</mi></mrow><mn>2</mn></mfrac><mo>=</mo><mi>g</mi></mrow><annotation encoding="application/x-tex">\frac{b+f}{2}=g</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="katex-base"><span class="katex-strut" style="height:1.2772em;vertical-align:-0.345em;"></span><span class="mord"><span class="mopen nulldelimiter"></span><span class="mfrac"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.9322em;"><span style="top:-2.655em;"><span class="pstrut" style="height:3em;"></span><span class="katex-sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mtight">2</span></span></span></span><span style="top:-3.23em;"><span class="pstrut" style="height:3em;"></span><span class="frac-line" style="border-bottom-width:0.04em;"></span></span><span style="top:-3.4461em;"><span class="pstrut" style="height:3em;"></span><span class="katex-sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathnormal mtight">b</span><span class="mbin mtight">+</span><span class="mord mathnormal mtight" style="margin-right:0.1076em;">f</span></span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.345em;"><span></span></span></span></span></span><span class="mclose nulldelimiter"></span></span><span class="mspace" style="margin-right:0.2778em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right:0.2778em;"></span></span><span class="katex-base"><span class="katex-strut" style="height:0.625em;vertical-align:-0.1944em;"></span><span class="mord mathnormal" style="margin-right:0.0359em;">g</span></span></span></span> 成立的约束条件，具体步骤如下：</p>
<h3>步骤1：定义3阶幻方的通用字母矩阵</h3>
<p>设3阶幻方的数字排布为：</p>
<p>| 位置   | 第一列 | 第二列 | 第三列 |<br>
|</p>
]]></content:encoded>
    </item>
    <item>
      <title>圆周率 π 的趣味入门</title>
      <link>https://www.liuxiyu.cn/maths/pi-intro.html</link>
      <guid>https://www.liuxiyu.cn/maths/pi-intro.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">圆周率 π 的趣味入门</source>
      <description>🥧 圆周率 π 的趣味入门 从一个圆的秘密说起。 什么是 π？ 任何圆的周长 ÷ 直径，算出来的结果都是同一个数，约等于 3.14159...，我们叫它 π（读作&amp;quot;派&amp;quot;）。 π 的惊人特性 无限不循环：小数点后永远写不完，也永远不重复。目前已经算到几十万亿位。 用 3.14 就够用：日常计算用 3.14 或 22/7 就足够精确了...</description>
      <category>数学</category>
      <pubDate>Tue, 11 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p>从一个圆的秘密说起。</p>
</blockquote>
<h2>什么是 π？</h2>
<p>任何圆的周长 ÷ 直径，算出来的结果都是同一个数，约等于 <strong>3.14159...</strong>，我们叫它 <strong>π</strong>（读作&quot;派&quot;）。</p>
<div class="language- line-numbers-mode" data-highlighter="shiki" data-ext style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-"><span class="line"><span>周长 = π × 直径</span></span>
<span class="line"><span>面积 = π × 半径²</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div><div class="line-number"></div></div></div><h2>π 的惊人特性</h2>
<ul>
<li><strong>无限不循环</strong>：小数点后永远写不完，也永远不重复。目前已经算到几十万亿位。</li>
<li><strong>用 3.14 就够用</strong>：日常计算用 3.14 或 22/7 就足够精确了。</li>
<li><strong>藏在很多地方</strong>：不只是圆，摆动、波、概率里都有 π 的影子。</li>
</ul>
<h2>有趣的记忆法</h2>
<ul>
<li><strong>3.14159</strong> 谐音：&quot;山巅一寺一壶酒&quot; 🍶</li>
<li>用更多位：&quot;山巅一寺一壶酒，尔乐苦煞吾&quot;（3.1415926...）</li>
</ul>
<h2>你能自己验证吗？</h2>
<p>拿一个圆形的杯盖，用绳子量一圈周长，再用尺子量直径，两者相除——你会发现结果<strong>接近 3.14</strong>！这就是亲手发现 π 的乐趣。</p>
]]></content:encoded>
    </item>
    <item>
      <title>种花</title>
      <link>https://www.liuxiyu.cn/planting/</link>
      <guid>https://www.liuxiyu.cn/planting/</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">种花</source>
      <description>种花</description>
      <pubDate>Thu, 03 Sep 2026 14:19:47 GMT</pubDate>
      <content:encoded><![CDATA[
<p><a href="/planting/water/" target="_blank">水培</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>从一颗枇杷核开始：水培观察日记</title>
      <link>https://www.liuxiyu.cn/planting/loquat-water.html</link>
      <guid>https://www.liuxiyu.cn/planting/loquat-water.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">从一颗枇杷核开始：水培观察日记</source>
      <description>🌱 从一颗枇杷核开始：水培观察日记 一杯水 + 一颗枇杷核，就能见证生命的奇迹。 为什么选枇杷核？ 吃枇杷时剩下的核，本来要扔进垃圾桶——但它其实藏着一个小生命。奶茶杯二次利用，就成了它的&amp;quot;家&amp;quot;。 水培步骤（超简单） 洗净核：把果肉清理干净，别留残留物，否则容易发霉 泡水催芽：核泡在清水里 1-2 天，帮助外壳软化 半浸半露：用奶...</description>
      <category>种花</category>
      <pubDate>Tue, 11 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<blockquote>
<p>一杯水 + 一颗枇杷核，就能见证生命的奇迹。</p>
</blockquote>
<h2>为什么选枇杷核？</h2>
<p>吃枇杷时剩下的核，本来要扔进垃圾桶——但它其实藏着一个小生命。奶茶杯二次利用，就成了它的&quot;家&quot;。</p>
<h2>水培步骤（超简单）</h2>
<ol>
<li><strong>洗净核</strong>：把果肉清理干净，别留残留物，否则容易发霉</li>
<li><strong>泡水催芽</strong>：核泡在清水里 1-2 天，帮助外壳软化</li>
<li><strong>半浸半露</strong>：用奶茶杯装水，让核一半泡水、一半露在空气中</li>
<li><strong>耐心等待</strong>：放窗边有散光处，隔几天换一次水</li>
</ol>
<h2>观察记录</h2>
<p>| 时间      | 变化                     |<br>
|</p>
]]></content:encoded>
    </item>
    <item>
      <title>我写了一个&amp;quot;智能&amp;quot;排序函数：lxySort</title>
      <link>https://www.liuxiyu.cn/posts/cpp-lxy-sort.html</link>
      <guid>https://www.liuxiyu.cn/posts/cpp-lxy-sort.html</guid>
      <source url="https://www.liuxiyu.cn/rss.xml">我写了一个&amp;quot;智能&amp;quot;排序函数：lxySort</source>
      <description>我写了一个&amp;quot;智能&amp;quot;排序函数：lxySort 前面讲了 STL 的 sort，但那毕竟是别人写好的。今天分享一个我自己写的排序函数——它会根据数组的实际情况，自动选择最合适的排序算法。我叫它 lxySort。 一、思路：没有最好的排序，只有最合适的 你可能听过各种排序：快排、归并、计数、基数、冒泡……每个都有自己的适用场景。那么问题来...</description>
      <category>C++学习</category>
      <pubDate>Thu, 27 Aug 2026 00:00:00 GMT</pubDate>
      <content:encoded><![CDATA[
<p>前面讲了 STL 的 <code>sort</code>，但那毕竟是别人写好的。今天分享一个<strong>我自己写的排序函数</strong>——它会根据数组的实际情况，自动选择最合适的排序算法。我叫它 <strong>lxySort</strong>。</p>
<h2>一、思路：没有最好的排序，只有最合适的</h2>
<p>你可能听过各种排序：快排、归并、计数、基数、冒泡……每个都有自己的适用场景。那么问题来了：<strong>能不能写一个函数，自己判断&quot;该用哪个&quot;？</strong></p>
<p>这就是 lxySort 干的事。它像个小管家，先看看这堆数据是什么情况，再决定派哪个&quot;打手&quot;上场。</p>
<h2>二、完整代码（新版 lxy_sort.hpp）</h2>
<p>lxySort 已经迭代成了<strong>一个完整的多算法混合排序头文件</strong> <code>lxy_sort.hpp</code>（纯模板、单头文件、header-only）。它不再是文章里的简单版本，而是包含：</p>
<ul>
<li><strong>多种排序策略</strong>：插入 / 归并 / 自然归并 / 计数 / 基数（LSD）/ 基数（字符串）/ 基数（vector）/ Introsort（快排+堆+插入）</li>
<li><strong>稳定与不稳定</strong>：<code>lxySort</code>（默认）、<code>lxyStableSort</code>（严格稳定）、<code>lxySortByKey</code>（按键排序）</li>
<li><strong>自动并行</strong>：大规模比较型数组自动 OpenMP 并行</li>
<li><strong>类型支持</strong>：整数、浮点数、字符串、嵌套 vector、自定义比较器</li>
</ul>
<p>📥 <strong>源码下载</strong>：<a href="/files/lxy_sort.hpp">lxy_sort.hpp</a></p>
<p>配套文件：</p>
<ul>
<li>📥 <a href="/files/bench.cpp">bench.cpp（性能对比 std::sort）</a></li>
<li>📥 <a href="/files/example.cpp">example.cpp（使用示例）</a></li>
</ul>
<p>编译测试：</p>
<div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" style="--shiki-light:#383A42;--shiki-dark:#abb2bf;--shiki-light-bg:#FAFAFA;--shiki-dark-bg:#282c34"><pre class="shiki shiki-themes one-light one-dark-pro vp-code"><code class="language-bash"><span class="line"><span style="--shiki-light:#4078F2;--shiki-dark:#61AFEF">g++</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -O2</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -std=c++17</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -fopenmp</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> bench.cpp</span><span style="--shiki-light:#986801;--shiki-dark:#D19A66"> -o</span><span style="--shiki-light:#50A14F;--shiki-dark:#98C379"> bench</span><span style="--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-dark:#7F848E;--shiki-dark-font-style:italic">   # Windows 用 g++，Linux 用 g++ -fopenmp</span></span></code></pre>
<div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0"><div class="line-number"></div></div></div><h3>⚡ 性能对比：lxySort vs std::sort（N=100000，本机实测）</h3>
<p>跑 <code>bench.cpp</code> 得到的真实数据（<code>N=100000</code>），<strong>lxySort 赢了 39/40 个用例</strong>：</p>
<p>| 数据情况         | lxySort   | std::sort | 加速比            | 走的分支     |<br>
|</p>
]]></content:encoded>
    </item>
  </channel>
</rss>