Files

74 lines
7.2 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 530 865" width="530" height="865"><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="10" y="10" width="510" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="265.0" y="28" text-anchor="middle" dominant-baseline="central" font-size="16">#1 [1,5]</text>
<text x="265.0" y="52" text-anchor="middle" dominant-baseline="central" font-size="16">(18)</text>
<path d="M265 68L163.0 115" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="115" width="306" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="163.0" y="133" text-anchor="middle" dominant-baseline="central" font-size="16">#2 [1,3]</text>
<text x="163.0" y="157" text-anchor="middle" dominant-baseline="central" font-size="16">(13)</text>
<path d="M265 68L418.0 115" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="316" y="115" width="204" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="418.0" y="133" text-anchor="middle" dominant-baseline="central" font-size="16">#3 [4,5]</text>
<text x="418.0" y="157" text-anchor="middle" dominant-baseline="central" font-size="16">(5)</text>
<path d="M163 173L112.0 220" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="220" width="204" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="112.0" y="238" text-anchor="middle" dominant-baseline="central" font-size="16">#4 [1,2]</text>
<text x="112.0" y="262" text-anchor="middle" dominant-baseline="central" font-size="16">(9)</text>
<path d="M163 173L265.0 220" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="214" y="220" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="265.0" y="238" text-anchor="middle" dominant-baseline="central" font-size="16">#5 [3,3]</text>
<text x="265.0" y="262" text-anchor="middle" dominant-baseline="central" font-size="16">(4)</text>
<path d="M418 173L367.0 220" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="316" y="220" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="367.0" y="238" text-anchor="middle" dominant-baseline="central" font-size="16">#6 [4,4]</text>
<text x="367.0" y="262" text-anchor="middle" dominant-baseline="central" font-size="16">(2)</text>
<path d="M418 173L469.0 220" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="418" y="220" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="469.0" y="238" text-anchor="middle" dominant-baseline="central" font-size="16">#7 [5,5]</text>
<text x="469.0" y="262" text-anchor="middle" dominant-baseline="central" font-size="16">(3)</text>
<path d="M112 278L61.0 325" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="325" width="102" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="61.0" y="343" text-anchor="middle" dominant-baseline="central" font-size="16">#8 [1,1]</text>
<text x="61.0" y="367" text-anchor="middle" dominant-baseline="central" font-size="16">(4)</text>
<path d="M112 278L163.0 325" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="112" y="325" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="163.0" y="343" text-anchor="middle" dominant-baseline="central" font-size="16">#9 [2,2]</text>
<text x="163.0" y="367" text-anchor="middle" dominant-baseline="central" font-size="16">(5)</text>
<rect x="10" y="445" width="510" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="265.0" y="463" text-anchor="middle" dominant-baseline="central" font-size="16">#1 [1,5]</text>
<text x="265.0" y="487" text-anchor="middle" dominant-baseline="central" font-size="16">(18)</text>
<path d="M265 503L163.0 550" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="550" width="306" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="163.0" y="568" text-anchor="middle" dominant-baseline="central" font-size="16">#2 [1,3]</text>
<text x="163.0" y="592" text-anchor="middle" dominant-baseline="central" font-size="16">(13)</text>
<path d="M265 503L418.0 550" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="316" y="550" width="204" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="418.0" y="568" text-anchor="middle" dominant-baseline="central" font-size="16">#3 [4,5]</text>
<text x="418.0" y="592" text-anchor="middle" dominant-baseline="central" font-size="16">(5)</text>
<path d="M163 608L112.0 655" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="655" width="204" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="112.0" y="673" text-anchor="middle" dominant-baseline="central" font-size="16">#4 [1,2]</text>
<text x="112.0" y="697" text-anchor="middle" dominant-baseline="central" font-size="16">(9)</text>
<path d="M163 608L265.0 655" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="214" y="655" width="102" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="265.0" y="673" text-anchor="middle" dominant-baseline="central" font-size="16">#5 [3,3]</text>
<text x="265.0" y="697" text-anchor="middle" dominant-baseline="central" font-size="16">(4)</text>
<path d="M418 608L367.0 655" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="316" y="655" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="367.0" y="673" text-anchor="middle" dominant-baseline="central" font-size="16">#6 [4,4]</text>
<text x="367.0" y="697" text-anchor="middle" dominant-baseline="central" font-size="16">(2)</text>
<path d="M418 608L469.0 655" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="418" y="655" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="469.0" y="673" text-anchor="middle" dominant-baseline="central" font-size="16">#7 [5,5]</text>
<text x="469.0" y="697" text-anchor="middle" dominant-baseline="central" font-size="16">(3)</text>
<path d="M112 713L61.0 760" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="10" y="760" width="102" height="58" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="61.0" y="778" text-anchor="middle" dominant-baseline="central" font-size="16">#8 [1,1]</text>
<text x="61.0" y="802" text-anchor="middle" dominant-baseline="central" font-size="16">(4)</text>
<path d="M112 713L163.0 760" fill="none" stroke="#416687" stroke-width="2"/>
<rect x="112" y="760" width="102" height="58" stroke="#67859e" fill="#d9e5f0" stroke-width="1.5"/>
<text x="163.0" y="778" text-anchor="middle" dominant-baseline="central" font-size="16">#9 [2,2]</text>
<text x="163.0" y="802" text-anchor="middle" dominant-baseline="central" font-size="16">(5)</text>
<text x="265" y="407" text-anchor="middle" dominant-baseline="central" font-size="19">(a)修改第 1 个数</text>
<text x="265" y="842" text-anchor="middle" dominant-baseline="central" font-size="19">(b)查询区间 [2,5]</text>
</g></svg>