Files
cpp-courseware/2.Course/1.深入浅出程序设计竞赛(基础篇)/书籍:深入浅出程序设计竞赛(基础篇)/images/svg/1d3842ff0a96ebf13f239338bb2ca99094b4ca26f1c15f59103c1be3ae14a43b.svg
T

94 lines
10 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1160" height="660" viewBox="0 0 1160 660" role="img" aria-labelledby="title desc">
<title id="title">插入排序:取出待插牌并移动已有元素</title>
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
<rect width="1160" height="660" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<text x="88" y="145.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第一轮</text>
<rect x="100" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="128.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="128.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="175" y="40" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="203.5" y="61.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="203.5" y="93.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="250" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="278.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="278.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="325" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="353.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="353.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="400" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="428.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="428.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<text x="204" y="16.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">待插牌</text>
<path d="M175 57 H128 V110" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="125" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">插入</text>
<path d="M128 194 V227 H195" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="140" y="250.0" text-anchor="middle" dominant-baseline="central" font-size="17" fill="#193b32">移动</text>
<text x="638" y="145.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第二轮</text>
<rect x="650" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="678.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="678.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="725" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="753.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="753.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="800" y="40" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="828.5" y="61.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="828.5" y="93.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="875" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="903.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="903.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="950" y="115" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="978.5" y="136.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="978.5" y="168.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<text x="829" y="16.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">待插牌</text>
<text x="695" y="215.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<text x="88" y="475.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第三轮</text>
<rect x="100" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="128.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="128.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="175" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="203.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="203.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="250" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="278.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="278.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="325" y="370" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="353.5" y="391.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="353.5" y="423.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="400" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="428.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="428.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<text x="354" y="346.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">待插牌</text>
<path d="M325 387 H278 V440" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="275" y="367.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">插入</text>
<path d="M278 524 V557 H345" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="290" y="580.0" text-anchor="middle" dominant-baseline="central" font-size="17" fill="#193b32">移动</text>
<text x="145" y="545.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
<text x="638" y="475.0" text-anchor="end" dominant-baseline="central" font-size="20" fill="#193b32">第四轮</text>
<rect x="650" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="678.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♥</text>
<text x="678.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<rect x="725" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="753.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="753.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">4</text>
<rect x="800" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="828.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♦</text>
<text x="828.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5</text>
<rect x="875" y="445" width="57" height="76" rx="3" fill="white" stroke="#417b63" stroke-width="2"/>
<text x="903.5" y="466.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♣</text>
<text x="903.5" y="498.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">9</text>
<rect x="950" y="370" width="57" height="76" rx="3" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="978.5" y="391.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">♠</text>
<text x="978.5" y="423.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">1</text>
<text x="979" y="346.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">待插牌</text>
<path d="M950 387 H753 V440" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="750" y="367.0" text-anchor="middle" dominant-baseline="central" font-size="19" fill="#193b32">插入</text>
<path d="M753 524 V557 H820" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="765" y="580.0" text-anchor="middle" dominant-baseline="central" font-size="17" fill="#193b32">移动</text>
<path d="M828 524 V557 H895" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="840" y="580.0" text-anchor="middle" dominant-baseline="central" font-size="17" fill="#193b32">移动</text>
<path d="M903 524 V557 H970" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="915" y="580.0" text-anchor="middle" dominant-baseline="central" font-size="17" fill="#193b32">移动</text>
<text x="695" y="545.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">已排序</text>
</g></svg>