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

20 lines
2.1 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="545" height="145" viewBox="0 0 545 145" role="img" aria-labelledby="title desc">
<title id="title">运算符优先级(左高右低)</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="545" height="145" fill="white"/>
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
<rect x="20" y="20" width="71" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="55.5" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">( )</text>
<rect x="91" y="20" width="101" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="141.5" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">*、/、%</text>
<rect x="192" y="20" width="71" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="227.5" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">+、−</text>
<rect x="263" y="20" width="161" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="343.5" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">&lt;、&gt;、&gt;=、&lt;=</text>
<rect x="424" y="20" width="101" height="60" rx="0" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
<text x="474.5" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">==、!=</text>
<line x1="440" y1="112" x2="112" y2="112" stroke="#417b63" stroke-width="2" marker-end="url(#arrow)"/>
<text x="68" y="112.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">优先度高</text>
<text x="480" y="112.0" text-anchor="middle" dominant-baseline="central" font-size="18" fill="#193b32">优先度低</text>
</g></svg>