<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Ghost_Shellrrr的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Ghost_Shellrrr</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Ghost_Shellrrr]]></copyright><item><title><![CDATA[辗转相除的原理]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/167920001</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/167920001</guid><author>Ghost_Shellrrr</author><pubDate>Wed, 14 Oct 2026 19:56:39 +0800</pubDate><description><![CDATA[我们将前面那个式子移项，得到k1=q*t+k*k2,再把这个k1代到最开始的a=k1*d，得到a=（q*t+k*k2）*d，再利用乘法分配律，得到：a=q*t*d+k*k2*d，我们这时发现，k2*d不就是最开始的b吗？，将其带入，得到：a=q*t*d+b*k.这时，我们再把k2=p*t代入开始的b=k2*d,得到b=p*t*d，再把这个式子代到a=q*t*d+b*k.得到了：a=q*t*d+p*t*d*k.提取公因数：a=(q+pk)*t*d。知道了这个结论，我们继续来看为什么这个公约数是最大的。]]></description><category></category></item><item><title><![CDATA[二维vector]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/163921813</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/163921813</guid><author>Ghost_Shellrrr</author><pubDate>Thu, 20 Aug 2026 16:31:31 +0800</pubDate><description><![CDATA[vector<vector<bool> > vis(n,vector<bool>(m,false));//注意初始化]]></description><category></category></item><item><title><![CDATA[二叉树-回溯]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162946729</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162946729</guid><author>Ghost_Shellrrr</author><pubDate>Thu, 16 Jul 2026 23:15:05 +0800</pubDate><description><![CDATA[if(叶子){保存答案;dfs(left);dfs(right);✅if必须有（否则不知道什么时候保存答案）。❌if里面不要return。]]></description><category></category></item><item><title><![CDATA[saids coding]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162882020</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162882020</guid><author>Ghost_Shellrrr</author><pubDate>Tue, 14 Jul 2026 23:06:45 +0800</pubDate><description><![CDATA[第一题：输入每个参赛选手的得分、违规次数、姓名信息，按照每个人的得分大小，由大到小排序当得分相同时，按违规次数从小到大排序，当违规次数也相同时，按姓名的字典顺序从小到大排序。第二题：签到题，给一个十进制的数，求各位数字之和以及奇数数量之和。注意，不一定能使用头文件。]]></description><category></category></item><item><title><![CDATA[哈希表迭代器]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162639520</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162639520</guid><author>Ghost_Shellrrr</author><pubDate>Mon, 06 Jul 2026 17:26:54 +0800</pubDate><description><![CDATA[it!=mp.end();it++){// }]]></description><category></category></item><item><title><![CDATA[数组越界限制——短路的顺序]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162605550</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162605550</guid><author>Ghost_Shellrrr</author><pubDate>Sun, 05 Jul 2026 14:38:00 +0800</pubDate><description><![CDATA[if(j>=0 && s[j]>=g[i] ){//注意短路顺序。]]></description><category></category></item><item><title><![CDATA[回溯startIndex易错点]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162589278</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162589278</guid><author>Ghost_Shellrrr</author><pubDate>Sun, 05 Jul 2026 01:06:39 +0800</pubDate><description><![CDATA[/又是这里的问题！]]></description><category></category></item><item><title><![CDATA[reverse和substr用法]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162588436</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162588436</guid><author>Ghost_Shellrrr</author><pubDate>Sat, 04 Jul 2026 23:19:58 +0800</pubDate><description><![CDATA[如果你只是想修好当前的语法错误，把。]]></description><category></category></item><item><title><![CDATA[my纠正点]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162015161</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/162015161</guid><author>Ghost_Shellrrr</author><pubDate>Mon, 15 Jun 2026 21:34:46 +0800</pubDate><description><![CDATA[void inorder(TreeNode* cur,vector<int>& res){//记得&!]]></description><category></category></item><item><title><![CDATA[链表coding]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161886478</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161886478</guid><author>Ghost_Shellrrr</author><pubDate>Thu, 11 Jun 2026 11:09:18 +0800</pubDate><description><![CDATA[206. 反转链表 - 力扣（LeetCode） return reverse(cur,tmp);//注意写法！]]></description><category></category></item><item><title><![CDATA[二分查找。]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161495181</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161495181</guid><author>Ghost_Shellrrr</author><pubDate>Fri, 29 May 2026 18:37:38 +0800</pubDate><description><![CDATA[二分 - OI WikiC++二分函数（binary_search&lower_bound&upper_bound）-优快云博客]]></description><category></category></item><item><title><![CDATA[ISBN注解]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161425478</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161425478</guid><author>Ghost_Shellrrr</author><pubDate>Tue, 26 May 2026 15:53:46 +0800</pubDate><description><![CDATA[引入了j变量来实现递增的乘法权重。使用了-'0'和+'0'在字符和数字之间进行正确的转换。单独处理了余数为10时转换为'X'的特殊情况。使用cout输出结果，而不是使用非法的。]]></description><category></category></item><item><title><![CDATA[auto用法]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161398907</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161398907</guid><author>Ghost_Shellrrr</author><pubDate>Mon, 25 May 2026 19:55:51 +0800</pubDate><description><![CDATA[这段 C++ 代码的目的是统计输入字符串中除空格和换行符以外的字符数量。不过，代码中存在一个会导致内存越界（Out of Bounds）的严重逻辑错误。如果你的字符串长度小于 98，这就会导致越界访问，引发未定义行为（输出随机乱码结果或直接导致程序崩溃）。既然范围 for 循环提取出的是字符本身，直接判断该字符即可，不需要再使用。时，程序会将字符的 ASCII 码值作为索引去访问字符串。的方式来访问特定位置的字符，你需要将循环改为传统的基于索引的。是多余的，且在循环内部被新声明的。类型），而不是字符的。]]></description><category></category></item><item><title><![CDATA[STL大全]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161348161</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161348161</guid><author>Ghost_Shellrrr</author><pubDate>Sat, 23 May 2026 23:04:28 +0800</pubDate><description><![CDATA[哈希表vector。]]></description><category></category></item><item><title><![CDATA[杨辉三角11]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161325294</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161325294</guid><author>Ghost_Shellrrr</author><pubDate>Sat, 23 May 2026 00:27:42 +0800</pubDate><description><![CDATA[注意返回值，不要放0。]]></description><category></category></item><item><title><![CDATA[c++对象]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161295045</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161295045</guid><author>Ghost_Shellrrr</author><pubDate>Fri, 22 May 2026 00:20:24 +0800</pubDate><description><![CDATA[在 C/C++ 中，如果你已经有了一个指针（门牌号），想要通过这个指针获取它所指向的实际数据（房间里的内容），你需要用到 *** 的另一种用法：解引用（Dereference）。如果在代码执行阶段将 * 放在指针变量的前面，它的动作就像是“用钥匙开门”。]]></description><category></category></item><item><title><![CDATA[项目！！！]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161092428</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/161092428</guid><author>Ghost_Shellrrr</author><pubDate>Fri, 15 May 2026 00:21:46 +0800</pubDate><description><![CDATA[一文彻底搞懂 MCP：AI 大模型的标准化工具箱-腾讯云开发者社区-腾讯云]]></description><category></category></item><item><title><![CDATA[保研。。。]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/160984421</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/160984421</guid><author>Ghost_Shellrrr</author><pubDate>Mon, 11 May 2026 14:31:05 +0800</pubDate><description><![CDATA[CS 保研 DDL · 倒计时]]></description><category></category></item><item><title><![CDATA[大模型笔记摘录]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/160982620</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/160982620</guid><author>Ghost_Shellrrr</author><pubDate>Mon, 11 May 2026 14:02:40 +0800</pubDate><description><![CDATA[self和method。]]></description><category></category></item><item><title><![CDATA[Python入门]]></title><link>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/140326076</link><guid>https://blog.youkuaiyun.com/Ghost_Shellrrr/article/details/140326076</guid><author>Ghost_Shellrrr</author><pubDate>Thu, 11 Jul 2024 16:47:40 +0800</pubDate><description><![CDATA[1.标识符以下划线开头的标识符有特殊含义，单下划线开头的标识符，如：_xxx ，表示不能直接访问的类属性，需通过类提供的接口进行访问，不能用 from xxx import * 导入；双下划线开头的标识符，如：__xx，表示私有成员；双下划线开头和结尾的标识符，如：__xx__，表示 Python 中内置标识，如：__init__() 表示类的构造函数。2 关键字5.输入输出Python 提供了一个 input()，可以让用户输入字符串。]]></description><category></category></item></channel></rss>