You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libray/images/c5.svg

184 lines
13 KiB

2 years ago
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created by Flowgorithm 3.4.2 (http://flowgorithm.org) -->
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="5724" height="5472">
<rect x="0" y="0" width="5724" height="5472" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,288 756,375"/>
<polygon fill="#404040" stroke="none" points="756,396 776,361 735,361"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,5076 756,5163"/>
<polygon fill="#404040" stroke="none" points="756,5184 776,5149 735,5149"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 612,144 A 72 72, 0, 0 0, 612 288 L 900,288 A 72 72, 0, 0 0, 900 144 Z"/>
<text x="756" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">begin</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 432,5184 A 72 72, 0, 0 0, 432 5328 L 1080,5328 A 72 72, 0, 0 0, 1080 5184 Z"/>
<text x="756" y="5205" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Return Integer book1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,540 756,627"/>
<polygon fill="#404040" stroke="none" points="756,648 776,613 735,613"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,792 756,879"/>
<polygon fill="#404040" stroke="none" points="756,900 776,865 735,865"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1116 756,1203"/>
<polygon fill="#404040" stroke="none" points="756,1224 776,1189 735,1189"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1404 756,1491"/>
<polygon fill="#404040" stroke="none" points="756,1512 776,1477 735,1477"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1656 756,1779"/>
<polygon fill="#404040" stroke="none" points="756,1800 776,1765 735,1765"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="756,1944 756,4551"/>
<polygon fill="#404040" stroke="none" points="756,4572 776,4537 735,4537"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 432,396 L 432,540 L 1080,540 L 1080,396 Z"/>
<text x="756" y="417" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Book*book = book1</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 432,648 L 432,792 L 1080,792 L 1080,648 Z"/>
<text x="756" y="669" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Book*pre = book1</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 324,900 L 216,1116 L 1188,1116 L 1296,900 Z"/>
<text x="756" y="921" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Output printf</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">(&quot;&#36755;&#20837;&#35201;&#22788;&#29702;&#26087;&#20070;&#30340;&#32534;&#21495;:&quot;);</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 540,1224 L 540,1404 L 972,1404 L 972,1224 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="540,1260 972,1260"/>
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="576,1224 576,1404"/>
<text x="774" y="1281" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="774" dy="72" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="5" stroke-dasharray="none" d="M 612,1512 L 540,1656 L 900,1656 L 972,1512 Z"/>
<text x="756" y="1533" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1080,1872 2088,1872 2088,1995"/>
<polygon fill="#404040" stroke="none" points="2088,2016 2108,1981 2067,1981"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2088,4320 2088,4428 828,4428 828,1964"/>
<polygon fill="#404040" stroke="none" points="828,1944 807,1978 848,1978"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2412,2196 4212,2196 4212,2427"/>
<polygon fill="#404040" stroke="none" points="4212,2448 4232,2413 4191,2413"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4212,4140 4212,4284 2144,4284"/>
<polygon fill="#404040" stroke="none" points="2124,4284 2158,4304 2158,4263"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1764,2196 1476,2196 1476,2427"/>
<polygon fill="#404040" stroke="none" points="1476,2448 1496,2413 1455,2413"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1476,2736 1476,4284 2031,4284"/>
<polygon fill="#404040" stroke="none" points="2052,4284 2017,4263 2017,4304"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2088,2016 L 1728,2196 L 2088,2376 L 2448,2196 Z"/>
<text x="2088" y="2145" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2088" dy="72" unicode-bidi="embed">id==book-&gt;iNUm</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4500,2628 4932,2628 4932,2859"/>
<polygon fill="#404040" stroke="none" points="4932,2880 4952,2845 4911,2845"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4932,3312 4932,4104 4268,4104"/>
<polygon fill="#404040" stroke="none" points="4248,4104 4282,4124 4282,4083"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3924,2628 3168,2628 3168,2859"/>
<polygon fill="#404040" stroke="none" points="3168,2880 3188,2845 3147,2845"/>
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3168,3960 3168,4104 4155,4104"/>
<polygon fill="#404040" stroke="none" points="4176,4104 4141,4083 4141,4124"/>
<g>
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 4212,2448 L 3888,2628 L 4212,2808 L 4536,2628 Z"/>
<text x="4212" y="2577" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4212" dy="72" unicode-bidi="embed">book1==book</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 4500,2880 L 4284,3312 L 5364,3312 L 5580,2880 Z"/>
<text x="4932" y="2901" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4932" dy="72" unicode-bidi="embed">Output book = book-&gt;next</tspan>
<tspan x="4932" dy="72" unicode-bidi="embed">;&#13;</tspan>
<tspan x="4932" dy="72" unicode-bidi="embed">&#9;&#9;&#9;&#9;free</tspan>
<tspan x="4932" dy="72" unicode-bidi="embed">(prev);&#13;</tspan>
<tspan x="4932" dy="72" unicode-bidi="embed">&#9;&#9;&#9;&#9;return book;</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2736,2880 L 2196,3960 L 3600,3960 L 4140,2880 Z"/>
<text x="3168" y="2901" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3168" dy="72" unicode-bidi="embed">Output prev-&gt;next = book-&gt;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">next</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">;&#13;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">&#9;&#9;&#9;free(book); //</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed"> free</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">():&#37322;&#25918;&#36164;&#28304;&#13;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">&#9;&#9;&#9;printf</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">(&quot;&#24050;&#23558;&#26087;&#20070;&#22788;&#29702;&#25481;!\</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">n&quot;);&#13;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">&#9;&#9;&#9;printf(&quot;&#25353;&#20219;&#24847;&#38190;&#36820;&#22238;\</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">n&quot;);&#13;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">&#9;&#9;&#9;getchar</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">();&#13;</tspan>
<tspan x="3168" dy="72" unicode-bidi="embed">&#9;&#9;&#9;return book1;</tspan>
</text>
</g>
<ellipse cx="4212" cy="4104" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
<text x="4644" y="2505" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4644" dy="72" unicode-bidi="embed">True</tspan>
</text>
<text x="3762" y="2505" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3762" dy="72" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1152,2448 L 1008,2736 L 1800,2736 L 1944,2448 Z"/>
<text x="1476" y="2469" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1476" dy="72" unicode-bidi="embed">Output prev = book</tspan>
<tspan x="1476" dy="72" unicode-bidi="embed">;&#13;</tspan>
<tspan x="1476" dy="72" unicode-bidi="embed">&#9;&#9;book = book-&gt;next;</tspan>
</text>
</g>
<ellipse cx="2088" cy="4284" rx="36" ry="36" fill="#C04040" stroke="#602020" stroke-width="5"/>
<text x="2556" y="2073" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2556" dy="72" unicode-bidi="embed">True</tspan>
</text>
<text x="1602" y="2073" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1602" dy="72" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 504,1800 L 432,1872 L 504,1944 L 1008,1944 L 1080,1872 L 1008,1800 Z"/>
<text x="756" y="1821" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">book!=NULL</tspan>
</text>
</g>
<text x="1188" y="1749" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1188" dy="72" unicode-bidi="embed">True</tspan>
</text>
<text x="630" y="1965" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="630" dy="72" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 396,4572 L 144,5076 L 1116,5076 L 1368,4572 Z"/>
<text x="756" y="4593" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="756" dy="72" unicode-bidi="embed">Output printf</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">(&quot;&#27809;&#26377;&#25214;&#21040;&#35813;&#22270;&#20070;\</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">n&quot;);&#13;</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">&#9;printf(&quot;&#25353;&#20219;&#24847;&#38190;&#36820;&#22238;\</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">n&quot;);&#13;</tspan>
<tspan x="756" dy="72" unicode-bidi="embed">&#9;getchar();</tspan>
</text>
</g>
</g>
</g>
</svg>