Files

38 lines
3.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 122" width="642" height="122"><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">
<rect x="15" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="49.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">x</text>
<rect x="83" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="117.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<rect x="151" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="185.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<rect x="219" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="253.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<rect x="287" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="321.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
<rect x="355" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="389.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">5</text>
<rect x="423" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="457.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
<rect x="491" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="525.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
<rect x="559" y="15" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="593.0" y="38.0" text-anchor="middle" dominant-baseline="central" font-size="19">8</text>
<rect x="15" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="49.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">w[x]</text>
<rect x="83" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="117.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">8</text>
<rect x="151" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="185.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
<rect x="219" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="253.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
<rect x="287" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="321.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
<rect x="355" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="389.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
<rect x="423" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="457.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
<rect x="491" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="525.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
<rect x="559" y="61" width="68" height="46" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="593.0" y="84.0" text-anchor="middle" dominant-baseline="central" font-size="19">0</text>
</g></svg>