Initial commit: C++ courseware
This commit is contained in:
commit
4a4ee7c287
1789 files changed
+373489
No files matched your search
@@ -0,0 +1,122 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 740 450" width="740" height="450"><title>0/1 背包逐层状态转移</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="205" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="236.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="268" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="299.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="331" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="362.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="394" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="425.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="457" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="488.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="520" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="551.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="583" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="614.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="646" y="55" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="677.5" y="86.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<text x="95" y="90" font-size="18">初始状态</text>
|
||||
<rect x="205" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="236.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="268" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="299.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="331" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="362.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="394" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="425.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="457" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="488.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="520" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="551.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="583" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="614.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="646" y="165" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="677.5" y="196.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<text x="95" y="200" font-size="18">f[1][i]</text>
|
||||
<text x="10" y="185" font-size="18">a = 2</text>
|
||||
<text x="10" y="213" font-size="18">v = 3</text>
|
||||
<path d="M236.5 117L236.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 117L299.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 117L362.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M236.5 117L362.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M425.5 117L425.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 117L425.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M488.5 117L488.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 117L488.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M551.5 117L551.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M425.5 117L551.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M614.5 117L614.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M488.5 117L614.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M677.5 117L677.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M551.5 117L677.5 162" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<rect x="205" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="236.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="268" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="299.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="331" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="362.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="394" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="425.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
|
||||
<rect x="457" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="488.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
|
||||
<rect x="520" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="551.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
|
||||
<rect x="583" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="614.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
|
||||
<rect x="646" y="275" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="677.5" y="306.5" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
|
||||
<text x="95" y="310" font-size="18">f[2][i]</text>
|
||||
<text x="10" y="295" font-size="18">a = 3</text>
|
||||
<text x="10" y="323" font-size="18">v = 5</text>
|
||||
<path d="M236.5 227L236.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 227L299.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 227L362.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M425.5 227L425.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M236.5 227L425.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M488.5 227L488.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 227L488.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M551.5 227L551.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 227L551.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M614.5 227L614.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M425.5 227L614.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M677.5 227L677.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M488.5 227L677.5 272" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<rect x="205" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="236.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="268" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="299.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">0</text>
|
||||
<rect x="331" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="362.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
|
||||
<rect x="394" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="425.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
|
||||
<rect x="457" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="488.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
|
||||
<rect x="520" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="551.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
|
||||
<rect x="583" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="614.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
|
||||
<rect x="646" y="385" width="63" height="63" stroke="#67859e" fill="white" stroke-width="1.5"/>
|
||||
<text x="677.5" y="416.5" text-anchor="middle" dominant-baseline="central" font-size="18">10</text>
|
||||
<text x="95" y="420" font-size="18">f[3][i]</text>
|
||||
<text x="10" y="405" font-size="18">a = 5</text>
|
||||
<text x="10" y="433" font-size="18">v = 7</text>
|
||||
<path d="M236.5 337L236.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 337L299.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 337L362.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M425.5 337L425.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M488.5 337L488.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M551.5 337L551.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M236.5 337L551.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M614.5 337L614.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M299.5 337L614.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M677.5 337L677.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<path d="M362.5 337L677.5 382" fill="none" stroke="#416687" stroke-width="2" marker-end="url(#a)"/>
|
||||
<text x="236.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">0</text>
|
||||
<text x="299.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">1</text>
|
||||
<text x="362.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">2</text>
|
||||
<text x="425.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">3</text>
|
||||
<text x="488.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">4</text>
|
||||
<text x="551.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">5</text>
|
||||
<text x="614.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">6</text>
|
||||
<text x="677.5" y="25" text-anchor="middle" dominant-baseline="central" font-size="19">7</text>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
Reference in new issue
Block a user