Files

32 lines
3.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 680 162" width="680" height="162"><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="130" height="44" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="80.0" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="18">操作</text>
<rect x="145" y="15" width="130" height="44" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="210.0" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="18">数组</text>
<rect x="275" y="15" width="130" height="44" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="340.0" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="18">前缀和</text>
<rect x="405" y="15" width="130" height="44" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="470.0" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="18">线段树</text>
<rect x="535" y="15" width="130" height="44" stroke="#67859e" fill="#edf2f7" stroke-width="1.5"/>
<text x="600.0" y="37.0" text-anchor="middle" dominant-baseline="central" font-size="18">树状数组</text>
<rect x="15" y="59" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="80.0" y="81.0" text-anchor="middle" dominant-baseline="central" font-size="18">单点修改</text>
<rect x="145" y="59" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="210.0" y="81.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(1)</text>
<rect x="275" y="59" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="340.0" y="81.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(n)</text>
<rect x="405" y="59" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="470.0" y="81.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(log n)</text>
<rect x="535" y="59" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="600.0" y="81.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(log n)</text>
<rect x="15" y="103" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="80.0" y="125.0" text-anchor="middle" dominant-baseline="central" font-size="18">区间和查询</text>
<rect x="145" y="103" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="210.0" y="125.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(n)</text>
<rect x="275" y="103" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="340.0" y="125.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(1)</text>
<rect x="405" y="103" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="470.0" y="125.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(log n)</text>
<rect x="535" y="103" width="130" height="44" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="600.0" y="125.0" text-anchor="middle" dominant-baseline="central" font-size="18">O(log n)</text>
</g></svg>