<?xml version="1.0" encoding="utf-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>starryfast的个人网站</title><link>https://lt.mjhcsp.xyz/</link><description>Good Luck To You!</description><item><title>P1046 [NOIP 2005 普及组] 陶陶摘苹果题解</title><link>https://lt.mjhcsp.xyz/?id=13</link><description>&lt;h2 id=&quot;h2-u9898u76EE-1&quot;&gt;&lt;a class=&quot;reference-link&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;span class=&quot;header-link octicon octicon-link&quot;&gt;&lt;/span&gt;题目&lt;/h2&gt;&lt;p&gt;陶陶家的院子里有一棵苹果树，每到秋天树上就会结出 10 个苹果。苹果成熟的时候，陶陶就会跑去摘苹果。陶陶有个 30 厘米高的板凳，当她不能直接用手摘到苹果的时候，就会踩到板凳上再试试。&lt;/p&gt;
&lt;p&gt;现在已知 10 个苹果到地面的高度，以及陶陶把手伸直的时候能够达到的最大高度，请帮陶陶算一下她能够摘到的苹果的数目。假设她碰到苹果，苹果就会掉下来。&lt;/p&gt;
&lt;h2 id=&quot;h2-u8F93u5165-6&quot;&gt;&lt;a class=&quot;reference-link&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;span class=&quot;header-link octicon octicon-link&quot;&gt;&lt;/span&gt;输入&lt;/h2&gt;&lt;p&gt;输入包括两行数据。第一行包含 10 个 100 到 200 之间（包括 100 和 200）的整数（以厘米为单位）分别表示 10 个苹果到地面的高度，两个相邻的整数之间用一个空格隔开。第二行只包括一个 100 到 120 之间（包含 100 和 120）的整数（以厘米为单位），表示陶陶把手伸直的时候能够达到的最大高度。&lt;/p&gt;
&lt;h2 id=&quot;h2-u8F93u51FA-9&quot;&gt;&lt;a class=&quot;reference-link&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;span class=&quot;header-link octicon octicon-link&quot;&gt;&lt;/span&gt;输出&lt;/h2&gt;&lt;p&gt;输出包括一行，这一行只包含一个整数，表示陶陶能够摘到的苹果的数目。&lt;/p&gt;
&lt;h2 id=&quot;h2-u9898u89E3-12&quot;&gt;&lt;a class=&quot;reference-link&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;span class=&quot;header-link octicon octicon-link&quot;&gt;&lt;/span&gt;题解&lt;/h2&gt;&lt;h3 id=&quot;h3-u4EE3u78013A-14&quot;&gt;&lt;a class=&quot;reference-link&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;&lt;span class=&quot;header-link octicon octicon-link&quot;&gt;&lt;/span&gt;代码:&lt;/h3&gt;&lt;pre&gt;&lt;code class=&quot;language-cpp&quot;&gt;#include &amp;lt;bits/stdc++.h&amp;gt;
using namespace std;
int main(){
    int a[101], apple, t, b = 30;
    for(int i = 1;i &amp;lt;= 10;i++){
        cin &amp;gt;&amp;gt; a[i];
    }
    cin &amp;gt;&amp;gt; t;
    apple = b + t;
    int n = 0;
    for(int i = 1;i &amp;lt;= 10;i++){
        if(a[i]&amp;lt;=apple){
            n++;
        }
    }
    cout &amp;lt;&amp;lt; n;
}
&lt;/code&gt;&lt;/pre&gt;</description><pubDate>Fri, 10 Jul 2026 19:46:30 +0800</pubDate></item><item><title>折叠框使用方法</title><link>https://lt.mjhcsp.xyz/?id=12</link><description>&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div data-callout=&quot;success&quot; class=&quot;callout is-collapsible&quot;&gt;
                                    &lt;div class=&quot;callout-title&quot;&gt;
                                        &lt;div class=&quot;callout-icon&quot;&gt;&lt;svg stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;polyline points=&quot;20 6 9 17 4 12&quot;&gt;&lt;/polyline&gt;&lt;/svg&gt;&lt;/div&gt;
                                        &lt;div class=&quot;callout-title-inner&quot;&gt;Note&lt;/div&gt;
                                        &lt;div class=&quot;callout-fold&quot;&gt;&lt;svg class=&quot;svg-icon lucide-chevron-down&quot; stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;path d=&quot;m6 9 6 6 6-6&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;div style=&quot;&quot; class=&quot;callout-content&quot;&gt;&lt;p&gt;Highlights information that users should take into account, even when skimming.&lt;/p&gt;&lt;/div&gt;
                                &lt;/div&gt;
                                &lt;div data-callout=&quot;important&quot; class=&quot;callout&quot;&gt;
                                    &lt;div class=&quot;callout-title&quot;&gt;
                                        &lt;div class=&quot;callout-icon&quot;&gt;&lt;svg stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;path d=&quot;M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;
                                        &lt;div class=&quot;callout-title-inner&quot;&gt;Important&lt;/div&gt;
                                        
                                    &lt;/div&gt;
                                    &lt;div style=&quot;&quot; class=&quot;callout-content&quot;&gt;&lt;p&gt;Crucial information necessary for users to succeed.&lt;/p&gt;&lt;/div&gt;
                                &lt;/div&gt;
                                &lt;div data-callout=&quot;warning&quot; class=&quot;callout&quot;&gt;
                                    &lt;div class=&quot;callout-title&quot;&gt;
                                        &lt;div class=&quot;callout-icon&quot;&gt;&lt;svg stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;path d=&quot;m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z&quot;&gt;&lt;/path&gt;&lt;line y2=&quot;13&quot; x2=&quot;12&quot; y1=&quot;9&quot; x1=&quot;12&quot;&gt;&lt;/line&gt;&lt;line y2=&quot;17&quot; x2=&quot;12.01&quot; y1=&quot;17&quot; x1=&quot;12&quot;&gt;&lt;/line&gt;&lt;/svg&gt;&lt;/div&gt;
                                        &lt;div class=&quot;callout-title-inner&quot;&gt;Warning&lt;/div&gt;
                                        
                                    &lt;/div&gt;
                                    &lt;div style=&quot;&quot; class=&quot;callout-content&quot;&gt;&lt;p&gt;Critical content demanding immediate user attention due to potential risks.&lt;/p&gt;&lt;/div&gt;
                                &lt;/div&gt;
                                &lt;div data-callout=&quot;danger&quot; class=&quot;callout&quot;&gt;
                                    &lt;div class=&quot;callout-title&quot;&gt;
                                        &lt;div class=&quot;callout-icon&quot;&gt;&lt;svg stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;polygon points=&quot;13 2 3 14 12 14 11 22 21 10 12 10 13 2&quot;&gt;&lt;/polygon&gt;&lt;/svg&gt;&lt;/div&gt;
                                        &lt;div class=&quot;callout-title-inner&quot;&gt;Danger&lt;/div&gt;
                                        
                                    &lt;/div&gt;
                                    &lt;div style=&quot;&quot; class=&quot;callout-content&quot;&gt;&lt;p&gt;TypeError: Cannot set properties of null (setting ‘innerHTML’).&lt;/p&gt;&lt;/div&gt;
                                &lt;/div&gt;&lt;pre&gt;&lt;code&gt; &amp;gt; [!success]+ Note
&amp;gt; Highlights information that users should take into account, even when skimming.

&amp;gt; [!important] Important
&amp;gt; Crucial information necessary for users to succeed.

&amp;gt; [!warning] Warning
&amp;gt; Critical content demanding immediate user attention due to potential risks.

&amp;gt; [!danger] Danger
&amp;gt; TypeError: Cannot set properties of null (setting &#039;innerHTML&#039;).
&lt;/code&gt;&lt;/pre&gt;
&lt;/body&gt;</description><pubDate>Tue, 07 Jul 2026 09:40:12 +0800</pubDate></item><item><title>P5318 【深基18.例3】查找文献代码</title><link>https://lt.mjhcsp.xyz/?id=11</link><description>&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div data-callout=&quot;success&quot; class=&quot;callout is-collapsible is-collapsed&quot;&gt;
                                    &lt;div class=&quot;callout-title&quot;&gt;
                                        &lt;div class=&quot;callout-icon&quot;&gt;&lt;svg stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;polyline points=&quot;20 6 9 17 4 12&quot;&gt;&lt;/polyline&gt;&lt;/svg&gt;&lt;/div&gt;
                                        &lt;div class=&quot;callout-title-inner&quot;&gt;AC代码&lt;/div&gt;
                                        &lt;div class=&quot;callout-fold is-collapsed&quot;&gt;&lt;svg class=&quot;svg-icon lucide-chevron-down&quot; stroke-linejoin=&quot;round&quot; stroke-linecap=&quot;round&quot; stroke-width=&quot;2&quot; stroke=&quot;currentColor&quot; fill=&quot;none&quot; viewBox=&quot;0 0 24 24&quot; height=&quot;24&quot; width=&quot;24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;path d=&quot;m6 9 6 6 6-6&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/div&gt;
                                    &lt;/div&gt;
                                    &lt;div style=&quot;display:none&quot; class=&quot;callout-content&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&lt;code class=&quot;language-cpp&quot;&gt;#include&amp;lt;bits/stdc++.h&amp;gt;
using namespace std;
int n,m;
vector&amp;lt;int&amp;gt;p[100010];
bool u[100010];
void dfs(int x){
    cout&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot; &quot;;
    for(int i=0,sz=p[x].size();i&amp;lt;sz;i++)
        if(!u[p[x][i]]){
            u[p[x][i]]=true;
            dfs(p[x][i]);
        }
}
void bfs(int x) {
    memset(u, false, sizeof(u));
    queue&amp;lt;int&amp;gt; q; 
    u[x] = true;
    q.push(x);
    while (!q.empty()) {
        int v = q.front();
        q.pop();
        cout &amp;lt;&amp;lt; v &amp;lt;&amp;lt; &quot; &quot;;
        for (int i=0; i&amp;lt;p[v].size(); i++) 
            if (!u[p[v][i]]) {
                u[p[v][i]] = true;
                q.push(p[v][i]);
            }
    }
}
int main(){
    cin&amp;gt;&amp;gt;n&amp;gt;&amp;gt;m;
    for(int i=1;i&amp;lt;=m;i++){
        int x,y;
        cin&amp;gt;&amp;gt;x&amp;gt;&amp;gt;y;
        p[x].push_back(y);
    }
    for (int i=1; i&amp;lt;=n; i++) sort(p[i].begin(), p[i].end());
    u[1] = true;
    dfs(1);
    cout&amp;lt;&amp;lt;endl;
    bfs(1);
    return 0;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
                                &lt;/div&gt;&lt;/body&gt;</description><pubDate>Tue, 07 Jul 2026 09:26:47 +0800</pubDate></item><item><title>cos red mammoth‌</title><link>https://lt.mjhcsp.xyz/?id=10</link><description>&lt;p&gt;&lt;a title=&quot;cos red mammoth&quot; href=&quot;https://cdn.luogu.com.cn/upload/image_hosting/s3xokvw9.png&quot; target=&quot;_blank&quot;&gt;&lt;img style=&quot;max-width:100%;&quot; title=&quot;cos red mammoth&quot; alt=&quot;cos red mammoth&quot; src=&quot;https://cdn.luogu.com.cn/upload/image_hosting/s3xokvw9.png&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 06 Jul 2026 14:46:54 +0800</pubDate></item><item><title>miss 吴之境  and 解涛</title><link>https://lt.mjhcsp.xyz/?id=6</link><description>&lt;p&gt;&lt;span style=&quot;color: #00346b&quot;&gt;&lt;span style=&quot;color: #0c68ca&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ecaa04&quot;&gt;在6月份的某一天，吴之境永远的离开了我，我非常伤心，i am very miss wuzhijing&lt;br&gt;我也离开了解涛&lt;/span&gt;， &lt;span style=&quot;color: #ecaa04&quot;&gt;i am also very miss xietao&lt;/span&gt;&lt;/span&gt;&lt;br&gt;        &lt;span style=&quot;color: #e4495b&quot;&gt;吴之镜永远的神&lt;br&gt;        解涛永远的神&lt;/span&gt;&lt;/p&gt;</description><pubDate>Mon, 06 Jul 2026 11:13:18 +0800</pubDate></item><item><title>社区守则</title><link>https://lt.mjhcsp.xyz/?id=4</link><description>&lt;ol class=&quot; list-paddingleft-2&quot; style=&quot;width: 1228.23px; text-wrap-mode: wrap;&quot;&gt;&lt;li&gt;&lt;p&gt;请不要宣传违规网址&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;不要骂人&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;忘记密码请联系作者&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;你可以评论&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;想充值联系作者&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可以聊算法&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可以发一些娱乐的东西&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;text-wrap-mode: wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap-mode: wrap;&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style=&quot;text-wrap-mode: wrap;&quot;&gt;今后会再补充。&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;</description><pubDate>Sun, 05 Jul 2026 15:00:43 +0800</pubDate></item><item><title>社区守则</title><link>https://lt.mjhcsp.xyz/?id=3</link><description>&lt;ol class=&quot; list-paddingleft-2&quot; style=&quot;list-style-type: decimal;&quot;&gt;&lt;li&gt;&lt;p&gt;请不要宣传违规网址&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;不要骂人&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;忘记密码请联系作者&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;你可以评论&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;想充值联系作者&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可以聊算法&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;可以发一些娱乐的东西&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;今后会再补充。&lt;/p&gt;</description><pubDate>Sun, 05 Jul 2026 14:54:42 +0800</pubDate></item></channel></rss>