Files

99 lines
9.8 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1180 750" width="1180" height="750"><title>main.cpp [helo] - Code::Blocks 17.12</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<rect x="3" y="3" width="1174" height="744" stroke="#67859e" fill="#fafbfd" stroke-width="1.5"/>
<rect x="3" y="3" width="1174" height="38" stroke="#67859e" fill="#e8eef5" stroke-width="1.5"/>
<text x="15" y="28" font-size="19" font-family="Consolas,Microsoft YaHei,monospace">main.cpp [helo] - Code::Blocks 17.12</text>
<text x="1156" y="23" text-anchor="middle" dominant-baseline="central" font-size="25">×</text>
<text x="15" y="66" font-size="19" font-family="Consolas,Microsoft YaHei,monospace">File Edit View Search Project Build Debug Tools Plugins Settings Help</text>
<rect x="10" y="85" width="1160" height="45" stroke="#67859e" fill="#eef3f8" stroke-width="1.5"/>
<text x="20" y="114" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">Debug</text>
<rect x="720" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="741" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">▶</text>
<rect x="777" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="798" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">↦</text>
<rect x="834" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="855" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">↓</text>
<rect x="891" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="912" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">↳</text>
<rect x="948" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="969" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">↰</text>
<rect x="1005" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="1026" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">■</text>
<rect x="1062" y="92" width="42" height="31" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="1083" y="108" text-anchor="middle" dominant-baseline="central" font-size="20">▤</text>
<rect x="10" y="140" width="205" height="600" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="20" y="165" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">Management</text>
<text x="20" y="202" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">Projects</text>
<text x="20" y="233" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">Workspace</text>
<text x="20" y="264" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> helo</text>
<text x="20" y="295" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> Sources</text>
<text x="20" y="326" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> main.cpp</text>
<rect x="225" y="140" width="935" height="600" stroke="#67859e" fill="white" stroke-width="1.5"/>
<rect x="225" y="140" width="935" height="34" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="238" y="164" font-size="19" font-family="Consolas,Microsoft YaHei,monospace">main.cpp</text>
<text x="238" y="203" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">1</text>
<text x="280" y="203" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">#include &lt;iostream&gt;</text>
<text x="238" y="229" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">2</text>
<text x="280" y="229" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">using namespace std;</text>
<text x="238" y="255" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">3</text>
<text x="280" y="255" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">int main() {</text>
<text x="238" y="281" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">4</text>
<text x="280" y="281" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> int x;</text>
<text x="238" y="307" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">5</text>
<text x="280" y="307" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> cin &gt;&gt; x;</text>
<text x="238" y="333" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">6</text>
<text x="280" y="333" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> for (;; x++) {</text>
<text x="238" y="359" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">7</text>
<text x="280" y="359" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> int tmp = x, ans;</text>
<text x="238" y="385" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">8</text>
<text x="280" y="385" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> while (tmp &gt; 0) {</text>
<text x="238" y="411" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">9</text>
<text x="280" y="411" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> int p = 0; // x 的个位</text>
<text x="238" y="437" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">10</text>
<text x="280" y="437" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> p = tmp % 10;</text>
<text x="238" y="463" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">11</text>
<text x="280" y="463" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> if (p = 3)</text>
<text x="238" y="489" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">12</text>
<text x="280" y="489" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> ans++;</text>
<text x="238" y="515" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">13</text>
<text x="280" y="515" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> tmp /= 10;</text>
<text x="238" y="541" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">14</text>
<text x="280" y="541" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> }</text>
<text x="238" y="567" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">15</text>
<text x="280" y="567" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> if (ans == 2) {</text>
<text x="238" y="593" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">16</text>
<text x="280" y="593" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> cout &lt;&lt; x &lt;&lt; endl;</text>
<text x="238" y="619" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">17</text>
<text x="280" y="619" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> return 0;</text>
<text x="238" y="645" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">18</text>
<text x="280" y="645" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> }</text>
<text x="238" y="671" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">19</text>
<text x="280" y="671" font-size="18" font-family="Consolas,Microsoft YaHei,monospace"> }</text>
<text x="238" y="697" font-size="16" font-family="Consolas,Microsoft YaHei,monospace">20</text>
<text x="280" y="697" font-size="18" font-family="Consolas,Microsoft YaHei,monospace">}</text>
<circle cx="262" cy="355" r="7" fill="#7796b4" stroke="#416687" stroke-width="2"/>
<path d="M262 355L216 355" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M216 355L216 390" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M216 390L150 390" fill="none" stroke="#416687" stroke-width="2"/>
<text x="90" y="397" font-size="21" font-family="Consolas,Microsoft YaHei,monospace">断点</text>
<path d="M741 132L741 510" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M741 510L980 510" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="517" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">调试按钮</text>
<path d="M798 132L798 463" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M798 463L980 463" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="470" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">运行到光标</text>
<path d="M855 132L855 416" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M855 416L980 416" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="423" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">下一行</text>
<path d="M912 132L912 369" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M912 369L980 369" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="376" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">跳入函数</text>
<path d="M969 132L969 322" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M969 322L980 322" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="329" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">跳出函数</text>
<path d="M1026 132L1026 275" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M1026 275L980 275" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="282" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">停止调试</text>
<path d="M1083 132L1083 228" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M1083 228L980 228" fill="none" stroke="#416687" stroke-width="2"/>
<text x="985" y="235" font-size="20" font-family="Consolas,Microsoft YaHei,monospace">调试窗口</text>
</g></svg>