Files

83 lines
8.5 KiB
XML
Raw Permalink 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 760 620" width="760" height="620"><title>二叉堆插入元素并向上调整</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">
<path d="M175.70104280056933 52.51158754950184L124.29895719943067 97.48841245049816" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M205.56540648986177 50.895784542903236L274.43459351013826 99.10421545709676" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M100.57336017122016 126.49661970036473L79.42663982877984 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M119.42663982877984 126.49661970036473L140.57336017122014 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M280.57336017122014 126.49661970036473L259.42663982877986 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M299.42663982877986 126.49661970036473L320.57336017122014 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M62.515533326995815 197.4637555703431L47.484466673004185 232.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M77.48446667300419 197.4637555703431L92.51553332699581 232.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<circle cx="190" cy="40" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="190" y="40" text-anchor="middle" dominant-baseline="central" font-size="19">8</text>
<circle cx="110" cy="110" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="110" y="110" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
<circle cx="290" cy="110" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="290" y="110" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
<circle cx="70" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="70" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<circle cx="150" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="150" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<circle cx="250" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="250" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
<circle cx="330" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="330" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<circle cx="40" cy="250" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="40" y="250" text-anchor="middle" dominant-baseline="central" font-size="19">0</text>
<circle cx="100" cy="250" r="19" fill="#b7cbe0" stroke="#416687" stroke-width="2"/>
<text x="100" y="250" text-anchor="middle" dominant-baseline="central" font-size="19">5</text>
<text x="190" y="292" text-anchor="middle" dominant-baseline="central" font-size="19">(a)</text>
<path d="M565.7010428005693 52.51158754950184L514.2989571994307 97.48841245049816" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M595.5654064898617 50.895784542903236L664.4345935101383 99.10421545709676" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M490.57336017122014 126.49661970036473L469.42663982877986 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M509.42663982877986 126.49661970036473L530.5733601712202 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M670.5733601712202 126.49661970036473L649.4266398287798 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M689.4266398287798 126.49661970036473L710.5733601712202 163.50338029963527" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M452.5155333269958 197.4637555703431L437.4844666730042 232.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M467.4844666730042 197.4637555703431L482.5155333269958 232.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<circle cx="580" cy="40" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="580" y="40" text-anchor="middle" dominant-baseline="central" font-size="19">8</text>
<circle cx="500" cy="110" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="500" y="110" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
<circle cx="680" cy="110" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="680" y="110" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
<circle cx="460" cy="180" r="19" fill="#b7cbe0" stroke="#416687" stroke-width="2"/>
<text x="460" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">5</text>
<circle cx="540" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="540" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<circle cx="640" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="640" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
<circle cx="720" cy="180" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="720" y="180" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<circle cx="430" cy="250" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="430" y="250" text-anchor="middle" dominant-baseline="central" font-size="19">0</text>
<circle cx="490" cy="250" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="490" y="250" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<text x="580" y="292" text-anchor="middle" dominant-baseline="central" font-size="19">(b)</text>
<path d="M370.7010428005693 362.5115875495018L319.2989571994307 407.4884124504982" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M400.56540648986174 360.89578454290324L469.43459351013826 409.10421545709676" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M295.57336017122014 436.4966197003647L274.42663982877986 473.5033802996353" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M314.42663982877986 436.4966197003647L335.57336017122014 473.5033802996353" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M475.57336017122014 436.4966197003647L454.42663982877986 473.5033802996353" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M494.42663982877986 436.4966197003647L515.5733601712202 473.5033802996353" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M257.5155333269958 507.4637555703431L242.4844666730042 542.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<path d="M272.4844666730042 507.4637555703431L287.5155333269958 542.5362444296569" fill="none" stroke="#416687" stroke-width="2"/>
<circle cx="385" cy="350" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="385" y="350" text-anchor="middle" dominant-baseline="central" font-size="19">8</text>
<circle cx="305" cy="420" r="19" fill="#b7cbe0" stroke="#416687" stroke-width="2"/>
<text x="305" y="420" text-anchor="middle" dominant-baseline="central" font-size="19">5</text>
<circle cx="485" cy="420" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="485" y="420" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
<circle cx="265" cy="490" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="265" y="490" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
<circle cx="345" cy="490" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="345" y="490" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<circle cx="445" cy="490" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="445" y="490" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
<circle cx="525" cy="490" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="525" y="490" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<circle cx="235" cy="560" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="235" y="560" text-anchor="middle" dominant-baseline="central" font-size="19">0</text>
<circle cx="295" cy="560" r="19" fill="white" stroke="#416687" stroke-width="2"/>
<text x="295" y="560" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<text x="385" y="602" text-anchor="middle" dominant-baseline="central" font-size="19">(c)</text>
</g></svg>