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

221 lines
24 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1130" height="770" viewBox="0 0 1130 770" role="img" aria-labelledby="title desc">
<title id="title">在有序序列中二分查找第一个大于等于3的元素</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="1130" height="770" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<text x="50" y="115.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第1轮</text>
<rect x="110" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="110" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="172" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">2</text>
<rect x="172" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="296" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">4</text>
<rect x="296" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="358" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="358" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="420" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">6</text>
<rect x="420" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="544" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">8</text>
<rect x="544" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="606" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="606" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">13</text>
<rect x="668" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">10</text>
<rect x="668" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<rect x="730" y="60" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="87.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="730" y="114" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="141.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<text x="141.0" y="35.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">l=1</text>
<line x1="141.0" y1="46" x2="141.0" y2="58" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="451.0" y="35.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">mid=6</text>
<line x1="451.0" y1="46" x2="451.0" y2="58" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="823.0" y="35.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">r=12</text>
<line x1="823.0" y1="46" x2="823.0" y2="58" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<rect x="423" y="118" width="56" height="46" rx="9" fill="none" stroke="#417b63" stroke-width="2" stroke-dasharray="7 5"/>
<text x="956" y="98.3" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">a[mid] ≥ 3 成立(大了)</text>
<text x="956" y="127.7" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">取左区间</text>
<text x="50" y="300.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第2轮</text>
<rect x="110" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="110" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="172" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">2</text>
<rect x="172" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="296" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">4</text>
<rect x="296" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="358" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="358" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="420" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">6</text>
<rect x="420" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="544" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">8</text>
<rect x="544" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="606" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="606" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">13</text>
<rect x="668" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">10</text>
<rect x="668" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<rect x="730" y="245" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="272.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="730" y="299" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="326.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<text x="141.0" y="220.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">l=1</text>
<line x1="141.0" y1="231" x2="141.0" y2="243" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="265.0" y="220.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">mid=3</text>
<line x1="265.0" y1="231" x2="265.0" y2="243" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="451.0" y="220.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">r=6</text>
<line x1="451.0" y1="231" x2="451.0" y2="243" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<rect x="237" y="303" width="56" height="46" rx="9" fill="none" stroke="#417b63" stroke-width="2" stroke-dasharray="7 5"/>
<text x="956" y="283.3" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">a[mid] ≥ 3 成立(大了)</text>
<text x="956" y="312.7" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">取左区间</text>
<text x="50" y="485.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第3轮</text>
<rect x="110" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="110" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="172" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">2</text>
<rect x="172" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="296" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">4</text>
<rect x="296" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="358" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="358" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="420" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">6</text>
<rect x="420" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="544" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">8</text>
<rect x="544" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="606" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="606" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">13</text>
<rect x="668" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">10</text>
<rect x="668" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<rect x="730" y="430" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="457.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="730" y="484" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="511.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<text x="141.0" y="405.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">l=1</text>
<line x1="141.0" y1="416" x2="141.0" y2="428" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="203.0" y="405.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">mid=2</text>
<line x1="203.0" y1="416" x2="203.0" y2="428" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="265.0" y="405.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">r=3</text>
<line x1="265.0" y1="416" x2="265.0" y2="428" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<rect x="175" y="488" width="56" height="46" rx="9" fill="none" stroke="#417b63" stroke-width="2" stroke-dasharray="7 5"/>
<text x="956" y="468.3" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">a[mid] ≥ 3 成立(大了)</text>
<text x="956" y="497.7" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">取左区间</text>
<text x="50" y="670.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">第4轮</text>
<rect x="110" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="110" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">1</text>
<rect x="172" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">2</text>
<rect x="172" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="203.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="234" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="265.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="296" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">4</text>
<rect x="296" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="327.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">3</text>
<rect x="358" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="358" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="389.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">5</text>
<rect x="420" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">6</text>
<rect x="420" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="451.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">7</text>
<rect x="482" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="513.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="544" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">8</text>
<rect x="544" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="575.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="606" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">9</text>
<rect x="606" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="637.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">13</text>
<rect x="668" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">10</text>
<rect x="668" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="699.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<rect x="730" y="615" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="642.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">11</text>
<rect x="730" y="669" width="62" height="54" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="761.0" y="696.0" text-anchor="middle" dominant-baseline="central" font-size="23" fill="#193b32">15</text>
<text x="141.0" y="590.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">l=mid=1</text>
<line x1="141.0" y1="601" x2="141.0" y2="613" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="203.0" y="590.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">r=2</text>
<line x1="203.0" y1="601" x2="203.0" y2="613" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<rect x="113" y="673" width="56" height="46" rx="9" fill="none" stroke="#417b63" stroke-width="2" stroke-dasharray="7 5"/>
<text x="956" y="653.3" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">a[mid] ≥ 3 不成立(小了)</text>
<text x="956" y="682.7" text-anchor="middle" dominant-baseline="central" font-size="21" fill="#193b32">取右区间</text>
</g></svg>