<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>blind5883的小博客</title><link>http://127.0.0.1:8090/</link><atom:link href="http://127.0.0.1:8090/rss.xml" rel="self" type="application/rss+xml"/><description>做你想做的事情</description><generator>Halo v2.27.1</generator><language>zh-cn</language><lastBuildDate>Sat, 31 Oct 2026 05:50:58 GMT</lastBuildDate><item><title><![CDATA[链表]]></title><link>http://127.0.0.1:8090/archives/lian-biao</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E9%93%BE%E8%A1%A8&amp;url=/archives/lian-biao" width="1" height="1" alt="" style="opacity:0;">一种线性数据结构，可以在 $\operatorname O(1)$ 内完成表头处的插入和删除，在已知下标情况下，可以对特定位置实现 $\operatorname O(1)$ 的插入和删除。 链表重要的有四部分：表头（$h$），$next$ 指针，代表数组（e）和索引变量（$idx$）。 具体实现为表]]></description><guid isPermaLink="false">/archives/lian-biao</guid><dc:creator>blind5883</dc:creator><pubDate>Wed, 28 Oct 2026 02:58:09 GMT</pubDate></item><item><title><![CDATA[染色法判定二分图]]></title><link>http://127.0.0.1:8090/archives/ran-se-fa-pan-ding-er-fen-tu</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E6%9F%93%E8%89%B2%E6%B3%95%E5%88%A4%E5%AE%9A%E4%BA%8C%E5%88%86%E5%9B%BE&amp;url=/archives/ran-se-fa-pan-ding-er-fen-tu" width="1" height="1" alt="" style="opacity:0;">染色法是常用的判断二分图的方法，时间复杂度为 $\operatorname O(n + m)$。 中心思想 二分图实际上可以分为两边，如下图： ![[Pasted image 20250811172215.png|204]] 一个二分图内的点可以分为两类，即左边和右边。 染色法的中心思想为通过给图染]]></description><guid isPermaLink="false">/archives/ran-se-fa-pan-ding-er-fen-tu</guid><dc:creator>blind5883</dc:creator><pubDate>Wed, 28 Oct 2026 02:58:07 GMT</pubDate></item><item><title><![CDATA[九连环问题]]></title><link>http://127.0.0.1:8090/archives/jiu-lian-huan-wen-ti</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E4%B9%9D%E8%BF%9E%E7%8E%AF%E9%97%AE%E9%A2%98&amp;url=/archives/jiu-lian-huan-wen-ti" width="1" height="1" alt="" style="opacity:0;">[PTA链接 ](https://pintia.cn/problem-sets/2066808699485880320/exam/problems/type/7?problemSetProblemId=2066808699527823367) 这个题目绝对不是目前这个层次的正常学生能做的，本身和汉诺]]></description><guid isPermaLink="false">/archives/jiu-lian-huan-wen-ti</guid><dc:creator>blind5883</dc:creator><pubDate>Mon, 26 Oct 2026 13:57:59 GMT</pubDate></item><item><title><![CDATA[反悔贪心]]></title><link>http://127.0.0.1:8090/archives/fan-hui-tan-xin</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E5%8F%8D%E6%82%94%E8%B4%AA%E5%BF%83&amp;url=/archives/fan-hui-tan-xin" width="1" height="1" alt="" style="opacity:0;">常规的贪心有局限性，而反悔贪心可以让你在 一定范围内反悔，从而选出更优的解。 以后还是写详细点的笔记吧。 一些常用的技巧： 全选某一个，其他改为相对差值。针对局部最优解，更新的目前最优解。 主要是正确性，从目前看，大胆假设，找出正确性。双向思考。正反思考。不局限，少枚举。 最重要的：思考如何从 $i]]></description><guid isPermaLink="false">/archives/fan-hui-tan-xin</guid><dc:creator>blind5883</dc:creator><pubDate>Mon, 26 Oct 2026 13:57:58 GMT</pubDate></item><item><title><![CDATA[贪心的思路]]></title><link>http://127.0.0.1:8090/archives/tan-xin-de-si-lu</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E8%B4%AA%E5%BF%83%E7%9A%84%E6%80%9D%E8%B7%AF&amp;url=/archives/tan-xin-de-si-lu" width="1" height="1" alt="" style="opacity:0;">贪心]]></description><guid isPermaLink="false">/archives/tan-xin-de-si-lu</guid><dc:creator>blind5883</dc:creator><pubDate>Mon, 26 Oct 2026 13:57:57 GMT</pubDate></item><item><title><![CDATA[一些小用法]]></title><link>http://127.0.0.1:8090/archives/yi-xie-xiao-yong-fa</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E4%B8%80%E4%BA%9B%E5%B0%8F%E7%94%A8%E6%B3%95&amp;url=/archives/yi-xie-xiao-yong-fa" width="1" height="1" alt="" style="opacity:0;">## 1 ``` struct Node { int sum; int x, y; bool flag; bool operator&lt;(const Node &amp;W)const { return sum &lt; W.sum; } } ``` 上面两个const，第一个是保证W不变，第二个是保证函数不变即调]]></description><guid isPermaLink="false">/archives/yi-xie-xiao-yong-fa</guid><dc:creator>blind5883</dc:creator><pubDate>Mon, 26 Oct 2026 13:57:56 GMT</pubDate></item><item><title><![CDATA[浅拷贝和深拷贝（待补）]]></title><link>http://127.0.0.1:8090/archives/qian-kao-bei-he-shen-kao-bei-dai-bu</link><description><![CDATA[<img src="http://127.0.0.1:8090/plugins/feed/assets/telemetry.gif?title=%E6%B5%85%E6%8B%B7%E8%B4%9D%E5%92%8C%E6%B7%B1%E6%8B%B7%E8%B4%9D%EF%BC%88%E5%BE%85%E8%A1%A5%EF%BC%89&amp;url=/archives/qian-kao-bei-he-shen-kao-bei-dai-bu" width="1" height="1" alt="" style="opacity:0;">后面补 深拷贝与浅拷贝相对：当类/结构体包含指针成员时，深拷贝不会只复制指针的地址，而是会新分配一块内存，并把原指针指向的内容完整复制过去。 深拷贝通常需要你自己在拷贝构造函数和赋值运算符中实现。结果就是：原对象和副本对象各自拥有独立的数据，修改一个不会影响另一个。 举例对比 浅拷贝（默认）→ 共享]]></description><guid isPermaLink="false">/archives/qian-kao-bei-he-shen-kao-bei-dai-bu</guid><dc:creator>blind5883</dc:creator><pubDate>Mon, 26 Oct 2026 12:06:54 GMT</pubDate></item></channel></rss>