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

34 lines
3.6 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="460" height="355" viewBox="0 0 460 355" role="img" aria-labelledby="title desc">
<title id="title">两个有序数组的合并:阶段1</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="460" height="355" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<rect x="75" y="115" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="112.5" y="145.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">5</text>
<rect x="150" y="115" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="187.5" y="145.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">10</text>
<rect x="225" y="115" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="262.5" y="145.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">13</text>
<rect x="300" y="115" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="337.5" y="145.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">14</text>
<rect x="75" y="245" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="112.5" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">15</text>
<rect x="75" y="245" width="75" height="60" rx="0" fill="#c7dfce" stroke="#417b63" stroke-width="2"/>
<text x="112.5" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32">15</text>
<rect x="150" y="245" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="187.5" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32"></text>
<rect x="225" y="245" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="262.5" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32"></text>
<rect x="300" y="245" width="75" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="337.5" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="25" fill="#193b32"></text>
<rect x="150" y="20" width="140" height="60" rx="9" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="220.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="24" fill="#193b32">5 10</text>
<text x="74" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">最小两个</text>
<text x="38" y="145.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">数组1</text>
<text x="38" y="275.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">数组2</text>
<text x="220" y="330.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">第一次合并</text>
<line x1="112" y1="115" x2="180" y2="80" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<line x1="187" y1="115" x2="250" y2="80" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<path d="M290 50 H420 V215 H112 V242" fill="none" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
</g></svg>