pull/10/head
郭佳慧 2 years ago
parent 981ddd5225
commit 81f9f026d3

@ -0,0 +1,671 @@
<?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="9984" height="24816">
<rect x="0" y="0" width="9984" height="24816" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,384 1872,501"/>
<polygon fill="#404040" stroke="none" points="1872,528 1898,481 1845,481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,24288 1872,24405"/>
<polygon fill="#404040" stroke="none" points="1872,24432 1898,24385 1845,24385"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 1632,192 A 96 96, 0, 0 0, 1632 384 L 2112,384 A 96 96, 0, 0 0, 2112 192 Z"/>
<text x="1872" y="220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">LendBook</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 1680,24432 A 96 96, 0, 0 0, 1680 24624 L 2064,24624 A 96 96, 0, 0 0, 2064 24432 Z"/>
<text x="1872" y="24460" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">End</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,768 1872,885"/>
<polygon fill="#404040" stroke="none" points="1872,912 1898,865 1845,865"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,1152 1872,1269"/>
<polygon fill="#404040" stroke="none" points="1872,1296 1898,1249 1845,1249"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,1536 1872,1653"/>
<polygon fill="#404040" stroke="none" points="1872,1680 1898,1633 1845,1633"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,1872 1872,1989"/>
<polygon fill="#404040" stroke="none" points="1872,2016 1898,1969 1845,1969"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,2208 1872,2325"/>
<polygon fill="#404040" stroke="none" points="1872,2352 1898,2305 1845,2305"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,5616 1872,5733"/>
<polygon fill="#404040" stroke="none" points="1872,5760 1898,5713 1845,5713"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,7152 1872,7317"/>
<polygon fill="#404040" stroke="none" points="1872,7344 1898,7297 1845,7297"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,7536 1872,8133"/>
<polygon fill="#404040" stroke="none" points="1872,8160 1898,8113 1845,8113"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,8400 1872,8517"/>
<polygon fill="#404040" stroke="none" points="1872,8544 1898,8497 1845,8497"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,8736 1872,8853"/>
<polygon fill="#404040" stroke="none" points="1872,8880 1898,8833 1845,8833"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,9072 1872,9237"/>
<polygon fill="#404040" stroke="none" points="1872,9264 1898,9217 1845,9217"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,9456 1872,14373"/>
<polygon fill="#404040" stroke="none" points="1872,14400 1898,14353 1845,14353"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,14592 1872,14709"/>
<polygon fill="#404040" stroke="none" points="1872,14736 1898,14689 1845,14689"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,14928 1872,15045"/>
<polygon fill="#404040" stroke="none" points="1872,15072 1898,15025 1845,15025"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1872,15264 1872,15381"/>
<polygon fill="#404040" stroke="none" points="1872,15408 1898,15361 1845,15361"/>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1488,528 L 1488,768 L 2256,768 L 2256,528 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1488,576 2256,576"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1536,528 1536,768"/>
<text x="1896" y="604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">String reader1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1536,912 L 1536,1152 L 2208,1152 L 2208,912 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1536,960 2208,960"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1584,912 1584,1152"/>
<text x="1896" y="988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">String book1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1584,1296 L 1584,1536 L 2160,1536 L 2160,1296 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1584,1344 2160,1344"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1632,1296 1632,1536"/>
<text x="1896" y="1372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1680,1680 L 1584,1872 L 2064,1872 L 2160,1680 Z"/>
<text x="1872" y="1708" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1584,2016 L 1488,2208 L 2160,2208 L 2256,2016 Z"/>
<text x="1872" y="2044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Input reader</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,2592 3216,2592 3216,2901"/>
<polygon fill="#404040" stroke="none" points="3216,2928 3242,2881 3189,2881"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,5376 3216,5568 1946,5568"/>
<polygon fill="#404040" stroke="none" points="1920,5568 1966,5594 1966,5541"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1440,2592 1056,2592 1056,5568 1797,5568"/>
<polygon fill="#404040" stroke="none" points="1824,5568 1777,5541 1777,5594"/>
<g>
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1872,2352 L 1392,2592 L 1872,2832 L 2352,2592 Z"/>
<text x="1872" y="2524" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">reader == NULL</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,4368 3216,4485"/>
<polygon fill="#404040" stroke="none" points="3216,4512 3242,4465 3189,4465"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,4704 3216,4821"/>
<polygon fill="#404040" stroke="none" points="3216,4848 3242,4801 3189,4801"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,5040 3216,5157"/>
<polygon fill="#404040" stroke="none" points="3216,5184 3242,5137 3189,5137"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2688,2928 L 1968,4368 L 3744,4368 L 4464,2928 Z"/>
<text x="3216" y="2956" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3216" dy="96" unicode-bidi="embed">Output Reader* tmp =</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> (Reader*)malloc(sizeof</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed">(Reader));</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"></tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> &#13;</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> tmp-&gt;next = NULL</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed">;</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"></tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> &#13;</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> tmp-&gt;iAmount =</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> 0;</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"></tspan>
<tspan x="3216" dy="96" unicode-bidi="embed">&#13;</tspan>
<tspan x="3216" dy="96" unicode-bidi="embed"> tmp-&gt;iNum = id;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 2880,4512 L 2784,4704 L 3552,4704 L 3648,4512 Z"/>
<text x="3216" y="4540" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3216" dy="96" unicode-bidi="embed">Input &#35835;&#32773;&#21517;&#23383;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 2880,4848 L 2784,5040 L 3552,5040 L 3648,4848 Z"/>
<text x="3216" y="4876" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3216" dy="96" unicode-bidi="embed">Input &#35835;&#32773;&#24615;&#21035;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 2880,5184 L 2784,5376 L 3552,5376 L 3648,5184 Z"/>
<text x="3216" y="5212" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3216" dy="96" unicode-bidi="embed">Input &#35835;&#32773;&#32844;&#20301;</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="1872" cy="5568" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
<text x="2496" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2496" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1224" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1224" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2496,6096 2832,6096 2832,6501"/>
<polygon fill="#404040" stroke="none" points="2832,6528 2858,6481 2805,6481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2832,6912 2832,7104 1946,7104"/>
<polygon fill="#404040" stroke="none" points="1920,7104 1966,7130 1966,7077"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1248,6096 864,6096 864,6501"/>
<polygon fill="#404040" stroke="none" points="864,6528 890,6481 837,6481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,6912 864,7104 1797,7104"/>
<polygon fill="#404040" stroke="none" points="1824,7104 1777,7077 1777,7130"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1872,5760 L 1200,6096 L 1872,6432 L 2544,6096 Z"/>
<text x="1872" y="5980" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">strcmp(tmp-&gt;position,</tspan>
<tspan x="1872" dy="96" unicode-bidi="embed"> &quot;student&quot;==0</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2496,6528 L 2304,6912 L 3168,6912 L 3360,6528 Z"/>
<text x="2832" y="6556" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2832" dy="96" unicode-bidi="embed">Output iMax =</tspan>
<tspan x="2832" dy="96" unicode-bidi="embed"> 20;</tspan>
<tspan x="2832" dy="96" unicode-bidi="embed">day = 30;</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 432,6528 L 240,6912 L 1296,6912 L 1488,6528 Z"/>
<text x="864" y="6556" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">Output tmp-&gt;iMax =</tspan>
<tspan x="864" dy="96" unicode-bidi="embed"> 40;</tspan>
<tspan x="864" dy="96" unicode-bidi="embed"> tmp-&gt;day = 60;</tspan>
</text>
</g>
<ellipse cx="1872" cy="7104" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="2688" y="5932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2688" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1032" y="5932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1032" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2256,7440 2880,7440 2880,7605"/>
<polygon fill="#404040" stroke="none" points="2880,7632 2906,7585 2853,7585"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2880,7824 2880,7968 1968,7968 1968,7562"/>
<polygon fill="#404040" stroke="none" points="1968,7536 1941,7582 1994,7582"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2256,7632 L 2160,7824 L 3504,7824 L 3600,7632 Z"/>
<text x="2880" y="7660" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2880" dy="96" unicode-bidi="embed">Output tmp-&gt;aiBookId[i] = 0</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1584,7344 L 1488,7440 L 1584,7536 L 2160,7536 L 2256,7440 L 2160,7344 Z"/>
<text x="1872" y="7372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">i = 0 to iMax</tspan>
</text>
</g>
<text x="2400" y="7276" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2400" dy="96" unicode-bidi="embed">Next</tspan>
</text>
<text x="1704" y="7564" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1704" dy="96" unicode-bidi="embed">Done</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1488,8160 L 1488,8400 L 2256,8400 L 2256,8160 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1488,8208 2256,8208"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1536,8160 1536,8400"/>
<text x="1896" y="8236" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">Integer idbook</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1584,8544 L 1488,8736 L 2160,8736 L 2256,8544 Z"/>
<text x="1872" y="8572" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Input idbook</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1584,8880 L 1488,9072 L 2160,9072 L 2256,8880 Z"/>
<text x="1872" y="8908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Input book</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,9360 3696,9360 3696,9525"/>
<polygon fill="#404040" stroke="none" points="3696,9552 3722,9505 3669,9505"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3696,14064 3696,14208 1968,14208 1968,9482"/>
<polygon fill="#404040" stroke="none" points="1968,9456 1941,9502 1994,9502"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4272,9888 4992,9888 4992,10293"/>
<polygon fill="#404040" stroke="none" points="4992,10320 5018,10273 4965,10273"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4992,13824 4992,14016 3770,14016"/>
<polygon fill="#404040" stroke="none" points="3744,14016 3790,14042 3790,13989"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3120,9888 2736,9888 2736,10293"/>
<polygon fill="#404040" stroke="none" points="2736,10320 2762,10273 2709,10273"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2736,10848 2736,14016 3621,14016"/>
<polygon fill="#404040" stroke="none" points="3648,14016 3601,13989 3601,14042"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 3696,9552 L 3072,9888 L 3696,10224 L 4320,9888 Z"/>
<text x="3696" y="9820" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3696" dy="96" unicode-bidi="embed">id_book == book-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4992,11856 4992,11973"/>
<polygon fill="#404040" stroke="none" points="4992,12000 5018,11953 4965,11953"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5520,10608 5856,10608 5856,10965"/>
<polygon fill="#404040" stroke="none" points="5856,10992 5882,10945 5829,10945"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5856,11616 5856,11808 5066,11808"/>
<polygon fill="#404040" stroke="none" points="5040,11808 5086,11834 5086,11781"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4464,10608 4080,10608 4080,11808 4917,11808"/>
<polygon fill="#404040" stroke="none" points="4944,11808 4897,11781 4897,11834"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 4992,10320 L 4416,10608 L 4992,10896 L 5568,10608 Z"/>
<text x="4992" y="10540" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4992" dy="96" unicode-bidi="embed">book-&gt;iAmount &lt;= 1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5856,11280 5856,11397"/>
<polygon fill="#404040" stroke="none" points="5856,11424 5882,11377 5829,11377"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5280,10992 L 5136,11280 L 6432,11280 L 6576,10992 Z"/>
<text x="5856" y="11020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5856" dy="96" unicode-bidi="embed">Output</tspan>
<tspan x="5856" dy="96" unicode-bidi="embed"> &#20511;&#38405;&#22833;&#36133;&#35813;&#22270;&#20070;&#24211;&#23384;&#19981;&#36275;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5424,11424 L 5328,11616 L 6288,11616 L 6384,11424 Z"/>
<text x="5856" y="11452" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5856" dy="96" unicode-bidi="embed">Output &#36820;&#22238;NULL</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="4992" cy="11808" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="5712" y="10444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5712" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="4248" y="10444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4248" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5760,12432 6096,12432 6096,12933"/>
<polygon fill="#404040" stroke="none" points="6096,12960 6122,12913 6069,12913"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="6096,13584 6096,13776 5066,13776"/>
<polygon fill="#404040" stroke="none" points="5040,13776 5086,13802 5086,13749"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4224,12432 3840,12432 3840,13776 4917,13776"/>
<polygon fill="#404040" stroke="none" points="4944,13776 4897,13749 4897,13802"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 4992,12000 L 4176,12432 L 4992,12864 L 5808,12432 Z"/>
<text x="4992" y="12316" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4992" dy="96" unicode-bidi="embed">(tmp-&gt;iAmount) + 1 &gt; tmp-&gt;</tspan>
<tspan x="4992" dy="96" unicode-bidi="embed">iMax</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="6096,13248 6096,13365"/>
<polygon fill="#404040" stroke="none" points="6096,13392 6122,13345 6069,13345"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5280,12960 L 5136,13248 L 6912,13248 L 7056,12960 Z"/>
<text x="6096" y="12988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="6096" dy="96" unicode-bidi="embed">Output</tspan>
<tspan x="6096" dy="96" unicode-bidi="embed"> &#20511;&#38405;&#22833;&#36133;&#35813;&#35835;&#32773;&#20511;&#38405;&#22270;&#20070;&#25968;&#37327;&#24050;&#36798;&#19978;&#32447;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5664,13392 L 5568,13584 L 6528,13584 L 6624,13392 Z"/>
<text x="6096" y="13420" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="6096" dy="96" unicode-bidi="embed">Output &#36820;&#22238;NULL</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="4992" cy="13776" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="5952" y="12268" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5952" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="4008" y="12268" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4008" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2736,10512 2736,10629"/>
<polygon fill="#404040" stroke="none" points="2736,10656 2762,10609 2709,10609"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2352,10320 L 2256,10512 L 3120,10512 L 3216,10320 Z"/>
<text x="2736" y="10348" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2736" dy="96" unicode-bidi="embed">Output &#20511;&#38405;&#25104;&#21151;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2304,10656 L 2208,10848 L 3168,10848 L 3264,10656 Z"/>
<text x="2736" y="10684" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2736" dy="96" unicode-bidi="embed">Output &#36820;&#22238;reader</tspan>
</text>
</g>
</g>
<ellipse cx="3696" cy="14016" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="4464" y="9724" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4464" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="2904" y="9724" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2904" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1536,9264 L 1440,9360 L 1536,9456 L 2208,9456 L 2304,9360 L 2208,9264 Z"/>
<text x="1872" y="9292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">book!=NULL</tspan>
</text>
</g>
<text x="2448" y="9196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2448" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1704" y="9484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1704" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1296,14400 L 1200,14592 L 2448,14592 L 2544,14400 Z"/>
<text x="1872" y="14428" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Output book = book-&gt;next</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1392,14736 L 1296,14928 L 2352,14928 L 2448,14736 Z"/>
<text x="1872" y="14764" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#25214;&#21040;&#35813;&#20070;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1440,15072 L 1344,15264 L 2304,15264 L 2400,15072 Z"/>
<text x="1872" y="15100" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">Output &#36820;&#22238;reader1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2256,15648 2592,15648 2592,16005"/>
<polygon fill="#404040" stroke="none" points="2592,16032 2618,15985 2565,15985"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2592,24048 2592,24240 1946,24240"/>
<polygon fill="#404040" stroke="none" points="1920,24240 1966,24266 1966,24213"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1488,15648 1104,15648 1104,15957"/>
<polygon fill="#404040" stroke="none" points="1104,15984 1130,15937 1077,15937"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1104,16272 1104,24240 1797,24240"/>
<polygon fill="#404040" stroke="none" points="1824,24240 1777,24213 1777,24266"/>
<g>
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1872,15408 L 1440,15648 L 1872,15888 L 2304,15648 Z"/>
<text x="1872" y="15580" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1872" dy="96" unicode-bidi="embed">reader!=NULL</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2592,16224 2592,23493"/>
<polygon fill="#404040" stroke="none" points="2592,23520 2618,23473 2565,23473"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2592,23712 2592,23829"/>
<polygon fill="#404040" stroke="none" points="2592,23856 2618,23809 2565,23809"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3072,16128 4512,16128 4512,16293"/>
<polygon fill="#404040" stroke="none" points="4512,16320 4538,16273 4485,16273"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4512,23184 4512,23328 2688,23328 2688,16250"/>
<polygon fill="#404040" stroke="none" points="2688,16224 2661,16270 2714,16270"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4512,22848 4512,22965"/>
<polygon fill="#404040" stroke="none" points="4512,22992 4538,22945 4485,22945"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4992,16608 5328,16608 5328,16965"/>
<polygon fill="#404040" stroke="none" points="5328,16992 5354,16945 5301,16945"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5328,17904 5328,22800 4586,22800"/>
<polygon fill="#404040" stroke="none" points="4560,22800 4606,22826 4606,22773"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4032,16608 3648,16608 3648,16965"/>
<polygon fill="#404040" stroke="none" points="3648,16992 3674,16945 3621,16945"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,17952 3648,22800 4437,22800"/>
<polygon fill="#404040" stroke="none" points="4464,22800 4417,22773 4417,22826"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 4512,16320 L 3984,16608 L 4512,16896 L 5040,16608 Z"/>
<text x="4512" y="16540" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4512" dy="96" unicode-bidi="embed">id == reader-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5328,17184 5328,17301"/>
<polygon fill="#404040" stroke="none" points="5328,17328 5354,17281 5301,17281"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5328,17520 5328,17685"/>
<polygon fill="#404040" stroke="none" points="5328,17712 5354,17665 5301,17665"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 4704,16992 L 4608,17184 L 5952,17184 L 6048,16992 Z"/>
<text x="5328" y="17020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5328" dy="96" unicode-bidi="embed">Output &#22270;&#20351;&#39302;&#24403;&#21069;&#30340;&#20070;&#20876;&#31821;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 4848,17328 L 4752,17520 L 5808,17520 L 5904,17328 Z"/>
<text x="5328" y="17356" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5328" dy="96" unicode-bidi="embed">Input &#35201;&#20511;&#30340;&#20070;&#30340;&#32534;&#21495;</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5760,17808 6624,17808 6624,17973"/>
<polygon fill="#404040" stroke="none" points="6624,18000 6650,17953 6597,17953"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="6624,22416 6624,22560 5424,22560 5424,17930"/>
<polygon fill="#404040" stroke="none" points="5424,17904 5397,17950 5450,17950"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="7200,18336 7920,18336 7920,18741"/>
<polygon fill="#404040" stroke="none" points="7920,18768 7946,18721 7893,18721"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="7920,22176 7920,22368 6698,22368"/>
<polygon fill="#404040" stroke="none" points="6672,22368 6718,22394 6718,22341"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="6048,18336 5664,18336 5664,22368 6549,22368"/>
<polygon fill="#404040" stroke="none" points="6576,22368 6529,22341 6529,22394"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 6624,18000 L 6000,18336 L 6624,18672 L 7248,18336 Z"/>
<text x="6624" y="18268" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="6624" dy="96" unicode-bidi="embed">id_book == book-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="7920,20208 7920,20325"/>
<polygon fill="#404040" stroke="none" points="7920,20352 7946,20305 7893,20305"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="8448,19056 8784,19056 8784,19413"/>
<polygon fill="#404040" stroke="none" points="8784,19440 8810,19393 8757,19393"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="8784,19968 8784,20160 7994,20160"/>
<polygon fill="#404040" stroke="none" points="7968,20160 8014,20186 8014,20133"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="7392,19056 7008,19056 7008,20160 7845,20160"/>
<polygon fill="#404040" stroke="none" points="7872,20160 7825,20133 7825,20186"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 7920,18768 L 7344,19056 L 7920,19344 L 8496,19056 Z"/>
<text x="7920" y="18988" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="7920" dy="96" unicode-bidi="embed">book-&gt;iAmount &lt;= 1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="8784,19632 8784,19749"/>
<polygon fill="#404040" stroke="none" points="8784,19776 8810,19729 8757,19729"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 8400,19440 L 8304,19632 L 9168,19632 L 9264,19440 Z"/>
<text x="8784" y="19468" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="8784" dy="96" unicode-bidi="embed">Output &#20511;&#38405;&#22833;&#36133;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 8304,19776 L 8208,19968 L 9264,19968 L 9360,19776 Z"/>
<text x="8784" y="19804" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="8784" dy="96" unicode-bidi="embed">Output returnreader1</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="7920" cy="20160" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="8640" y="18892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="8640" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="7176" y="18892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="7176" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="8688,20784 9024,20784 9024,21285"/>
<polygon fill="#404040" stroke="none" points="9024,21312 9050,21265 8997,21265"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="9024,21936 9024,22128 7994,22128"/>
<polygon fill="#404040" stroke="none" points="7968,22128 8014,22154 8014,22101"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="7152,20784 6768,20784 6768,22128 7845,22128"/>
<polygon fill="#404040" stroke="none" points="7872,22128 7825,22101 7825,22154"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 7920,20352 L 7104,20784 L 7920,21216 L 8736,20784 Z"/>
<text x="7920" y="20668" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="7920" dy="96" unicode-bidi="embed">(tmpp-&gt;iAmount + 1 &gt; tmpp</tspan>
<tspan x="7920" dy="96" unicode-bidi="embed">-&gt;iMax</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="9024,21600 9024,21717"/>
<polygon fill="#404040" stroke="none" points="9024,21744 9050,21697 8997,21697"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 8400,21312 L 8256,21600 L 9648,21600 L 9792,21312 Z"/>
<text x="9024" y="21340" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="9024" dy="96" unicode-bidi="embed">Output &#20511;&#38405;&#22833;&#36133;,</tspan>
<tspan x="9024" dy="96" unicode-bidi="embed">&#35813;&#35835;&#32773;&#20511;&#38405;&#22270;&#20070;&#25968;&#37327;&#24050;&#36798;&#19978;&#32447;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 8592,21744 L 8496,21936 L 9456,21936 L 9552,21744 Z"/>
<text x="9024" y="21772" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="9024" dy="96" unicode-bidi="embed">Output &#36820;&#22238;reader1</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="7920" cy="22128" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="8880" y="20620" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="8880" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="6936" y="20620" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="6936" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="6624" cy="22368" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="7392" y="18172" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="7392" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="5832" y="18172" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5832" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 4992,17712 L 4896,17808 L 4992,17904 L 5664,17904 L 5760,17808 L 5664,17712 Z"/>
<text x="5328" y="17740" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5328" dy="96" unicode-bidi="embed">book!=NULL</tspan>
</text>
</g>
<text x="5904" y="17644" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5904" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="5160" y="17932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5160" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,17184 3648,17301"/>
<polygon fill="#404040" stroke="none" points="3648,17328 3674,17281 3621,17281"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,17616 3648,17733"/>
<polygon fill="#404040" stroke="none" points="3648,17760 3674,17713 3621,17713"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 3072,16992 L 2976,17184 L 4224,17184 L 4320,16992 Z"/>
<text x="3648" y="17020" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3648" dy="96" unicode-bidi="embed">Output reader-&gt;iAmount++</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 3072,17328 L 2928,17616 L 4224,17616 L 4368,17328 Z"/>
<text x="3648" y="17356" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3648" dy="96" unicode-bidi="embed">Output reader-&gt;aiBookId</tspan>
<tspan x="3648" dy="96" unicode-bidi="embed">[tmpp-&gt;iAmount] = id_book</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3216,17760 L 3120,17952 L 4080,17952 L 4176,17760 Z"/>
<text x="3648" y="17788" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3648" dy="96" unicode-bidi="embed">Output &#36820;&#22238;reader1</tspan>
</text>
</g>
</g>
<ellipse cx="4512" cy="22800" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="5184" y="16444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5184" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="3816" y="16444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3816" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 3936,22992 L 3840,23184 L 5088,23184 L 5184,22992 Z"/>
<text x="4512" y="23020" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4512" dy="96" unicode-bidi="embed">Output book = book-&gt;next</tspan>
</text>
</g>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 2208,16032 L 2112,16128 L 2208,16224 L 2976,16224 L 3072,16128 L 2976,16032 Z"/>
<text x="2592" y="16060" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2592" dy="96" unicode-bidi="embed">reader != NULL</tspan>
</text>
</g>
<text x="3216" y="15964" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3216" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="2424" y="16252" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2424" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2112,23520 L 2016,23712 L 3072,23712 L 3168,23520 Z"/>
<text x="2592" y="23548" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2592" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#25214;&#21040;&#35813;&#20070;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2112,23856 L 2016,24048 L 3072,24048 L 3168,23856 Z"/>
<text x="2592" y="23884" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2592" dy="96" unicode-bidi="embed">Output &#25353;&#20219;&#24847;&#38190;&#36820;&#22238;</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 576,15984 L 432,16272 L 1632,16272 L 1776,15984 Z"/>
<text x="1104" y="16012" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1104" dy="96" unicode-bidi="embed">Output reader = reader-&gt;</tspan>
<tspan x="1104" dy="96" unicode-bidi="embed">next</tspan>
</text>
</g>
<ellipse cx="1872" cy="24240" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
<text x="2448" y="15484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2448" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1272" y="15484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1272" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 47 KiB

@ -0,0 +1,166 @@
<?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="4416" height="6144">
<rect x="0" y="0" width="4416" height="6144" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,384 816,501"/>
<polygon fill="#404040" stroke="none" points="816,528 842,481 789,481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,5616 816,5733"/>
<polygon fill="#404040" stroke="none" points="816,5760 842,5713 789,5713"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 576,192 A 96 96, 0, 0 0, 576 384 L 1056,384 A 96 96, 0, 0 0, 1056 192 Z"/>
<text x="816" y="220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">ReaderInfo</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 624,5760 A 96 96, 0, 0 0, 624 5952 L 1008,5952 A 96 96, 0, 0 0, 1008 5760 Z"/>
<text x="816" y="5788" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">End</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,768 816,885"/>
<polygon fill="#404040" stroke="none" points="816,912 842,865 789,865"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,1152 816,1269"/>
<polygon fill="#404040" stroke="none" points="816,1296 842,1249 789,1249"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,1488 816,1605"/>
<polygon fill="#404040" stroke="none" points="816,1632 842,1585 789,1585"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,1824 816,1989"/>
<polygon fill="#404040" stroke="none" points="816,2016 842,1969 789,1969"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,2208 816,5061"/>
<polygon fill="#404040" stroke="none" points="816,5088 842,5041 789,5041"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="816,5280 816,5397"/>
<polygon fill="#404040" stroke="none" points="816,5424 842,5377 789,5377"/>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 432,528 L 432,768 L 1200,768 L 1200,528 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="432,576 1200,576"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="480,528 480,768"/>
<text x="840" y="604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="840" dy="96" unicode-bidi="embed">String reader1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 528,912 L 528,1152 L 1104,1152 L 1104,912 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="528,960 1104,960"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="576,912 576,1152"/>
<text x="840" y="988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="840" dy="96" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 624,1296 L 528,1488 L 1008,1488 L 1104,1296 Z"/>
<text x="816" y="1324" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 480,1632 L 384,1824 L 1152,1824 L 1248,1632 Z"/>
<text x="816" y="1660" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">Input reader1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1104,2112 2688,2112 2688,2277"/>
<polygon fill="#404040" stroke="none" points="2688,2304 2714,2257 2661,2257"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2688,4752 2688,4896 912,4896 912,2234"/>
<polygon fill="#404040" stroke="none" points="912,2208 885,2254 938,2254"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3168,2592 3504,2592 3504,2949"/>
<polygon fill="#404040" stroke="none" points="3504,2976 3530,2929 3477,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3504,4512 3504,4704 2762,4704"/>
<polygon fill="#404040" stroke="none" points="2736,4704 2782,4730 2782,4677"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2208,2592 1824,2592 1824,2949"/>
<polygon fill="#404040" stroke="none" points="1824,2976 1850,2929 1797,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1824,3264 1824,4704 2613,4704"/>
<polygon fill="#404040" stroke="none" points="2640,4704 2593,4677 2593,4730"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2688,2304 L 2160,2592 L 2688,2880 L 3216,2592 Z"/>
<text x="2688" y="2524" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2688" dy="96" unicode-bidi="embed">id == reader-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3504,3168 3504,3285"/>
<polygon fill="#404040" stroke="none" points="3504,3312 3530,3265 3477,3265"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3504,3504 3504,3621"/>
<polygon fill="#404040" stroke="none" points="3504,3648 3530,3601 3477,3601"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3504,3840 3504,3957"/>
<polygon fill="#404040" stroke="none" points="3504,3984 3530,3937 3477,3937"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3504,4176 3504,4293"/>
<polygon fill="#404040" stroke="none" points="3504,4320 3530,4273 3477,4273"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3168,2976 L 3072,3168 L 3840,3168 L 3936,2976 Z"/>
<text x="3504" y="3004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3504" dy="96" unicode-bidi="embed">Output &#35835;&#32773;id</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3120,3312 L 3024,3504 L 3888,3504 L 3984,3312 Z"/>
<text x="3504" y="3340" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3504" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#22995;&#21517;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3120,3648 L 3024,3840 L 3888,3840 L 3984,3648 Z"/>
<text x="3504" y="3676" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3504" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#24615;&#21035;</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2880,3984 L 2784,4176 L 4128,4176 L 4224,3984 Z"/>
<text x="3504" y="4012" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3504" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#24050;&#20511;&#38405;&#20070;&#30340;&#25968;&#37327;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 3216,4320 L 3120,4512 L 3792,4512 L 3888,4320 Z"/>
<text x="3504" y="4348" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3504" dy="96" unicode-bidi="embed">Input reader</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1296,2976 L 1152,3264 L 2352,3264 L 2496,2976 Z"/>
<text x="1824" y="3004" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1824" dy="96" unicode-bidi="embed">Output reader = reader-&gt;</tspan>
<tspan x="1824" dy="96" unicode-bidi="embed">next</tspan>
</text>
</g>
<ellipse cx="2688" cy="4704" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="3360" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3360" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1992" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1992" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 624,2016 L 528,2112 L 624,2208 L 1008,2208 L 1104,2112 L 1008,2016 Z"/>
<text x="816" y="2044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">reader</tspan>
</text>
</g>
<text x="1248" y="1948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1248" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="648" y="2236" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="648" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 288,5088 L 192,5280 L 1344,5280 L 1440,5088 Z"/>
<text x="816" y="5116" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#25214;&#21040;&#35813;&#35835;&#32773;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 528,5424 L 432,5616 L 1104,5616 L 1200,5424 Z"/>
<text x="816" y="5452" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="816" dy="96" unicode-bidi="embed">Input reader</tspan>
</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

@ -0,0 +1,145 @@
<?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="3504" height="5376">
<rect x="0" y="0" width="3504" height="5376" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,384 864,501"/>
<polygon fill="#404040" stroke="none" points="864,528 890,481 837,481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,4848 864,4965"/>
<polygon fill="#404040" stroke="none" points="864,4992 890,4945 837,4945"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 624,192 A 96 96, 0, 0 0, 624 384 L 1104,384 A 96 96, 0, 0 0, 1104 192 Z"/>
<text x="864" y="220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">foundbook</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 672,4992 A 96 96, 0, 0 0, 672 5184 L 1056,5184 A 96 96, 0, 0 0, 1056 4992 Z"/>
<text x="864" y="5020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">End</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,768 864,885"/>
<polygon fill="#404040" stroke="none" points="864,912 890,865 837,865"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1152 864,1269"/>
<polygon fill="#404040" stroke="none" points="864,1296 890,1249 837,1249"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1488 864,1605"/>
<polygon fill="#404040" stroke="none" points="864,1632 890,1585 837,1585"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1824 864,1989"/>
<polygon fill="#404040" stroke="none" points="864,2016 890,1969 837,1969"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,2208 864,4293"/>
<polygon fill="#404040" stroke="none" points="864,4320 890,4273 837,4273"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,4512 864,4629"/>
<polygon fill="#404040" stroke="none" points="864,4656 890,4609 837,4609"/>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 528,528 L 528,768 L 1200,768 L 1200,528 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="528,576 1200,576"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="576,528 576,768"/>
<text x="888" y="604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="888" dy="96" unicode-bidi="embed">String book1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 576,912 L 576,1152 L 1152,1152 L 1152,912 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="576,960 1152,960"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="624,912 624,1152"/>
<text x="888" y="988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="888" dy="96" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 672,1296 L 576,1488 L 1056,1488 L 1152,1296 Z"/>
<text x="864" y="1324" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 576,1632 L 480,1824 L 1152,1824 L 1248,1632 Z"/>
<text x="864" y="1660" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">Input book1</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1296,2112 2016,2112 2016,2277"/>
<polygon fill="#404040" stroke="none" points="2016,2304 2042,2257 1989,2257"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,3984 2016,4128 960,4128 960,2234"/>
<polygon fill="#404040" stroke="none" points="960,2208 933,2254 986,2254"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,3648 2016,3765"/>
<polygon fill="#404040" stroke="none" points="2016,3792 2042,3745 1989,3745"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2448,2544 2784,2544 2784,2853"/>
<polygon fill="#404040" stroke="none" points="2784,2880 2810,2833 2757,2833"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2784,3408 2784,3600 2090,3600"/>
<polygon fill="#404040" stroke="none" points="2064,3600 2110,3626 2110,3573"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1584,2544 1200,2544 1200,3600 1941,3600"/>
<polygon fill="#404040" stroke="none" points="1968,3600 1921,3573 1921,3626"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2016,2304 L 1536,2544 L 2016,2784 L 2496,2544 Z"/>
<text x="2016" y="2476" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2016" dy="96" unicode-bidi="embed">id==book-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2784,3072 2784,3189"/>
<polygon fill="#404040" stroke="none" points="2784,3216 2810,3169 2757,3169"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2352,2880 L 2256,3072 L 3216,3072 L 3312,2880 Z"/>
<text x="2784" y="2908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2784" dy="96" unicode-bidi="embed">Output &#35813;&#20070;&#30340;&#20449;&#24687;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 2496,3216 L 2400,3408 L 3072,3408 L 3168,3216 Z"/>
<text x="2784" y="3244" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2784" dy="96" unicode-bidi="embed">Input book</tspan>
</text>
</g>
</g>
<g>
</g>
<ellipse cx="2016" cy="3600" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="2640" y="2380" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2640" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1368" y="2380" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1368" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1488,3792 L 1392,3984 L 2544,3984 L 2640,3792 Z"/>
<text x="2016" y="3820" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2016" dy="96" unicode-bidi="embed">Output book=book-&gt;next</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 528,2016 L 432,2112 L 528,2208 L 1200,2208 L 1296,2112 L 1200,2016 Z"/>
<text x="864" y="2044" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">book&#65281;=NULL</tspan>
</text>
</g>
<text x="1440" y="1948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1440" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="696" y="2236" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="696" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 384,4320 L 288,4512 L 1344,4512 L 1440,4320 Z"/>
<text x="864" y="4348" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#25214;&#21040;&#35813;&#20070;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 288,4656 L 192,4848 L 1440,4848 L 1536,4656 Z"/>
<text x="864" y="4684" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="864" dy="96" unicode-bidi="embed">Input &#38656;&#35201;&#26597;&#25214;&#30340;&#19979;&#19968;&#26412;&#20070;</tspan>
</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.4 KiB

@ -0,0 +1,193 @@
<?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="6432" height="7008">
<rect x="0" y="0" width="6432" height="7008" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,384 720,501"/>
<polygon fill="#404040" stroke="none" points="720,528 746,481 693,481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,6480 720,6597"/>
<polygon fill="#404040" stroke="none" points="720,6624 746,6577 693,6577"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 384,192 A 96 96, 0, 0 0, 384 384 L 1056,384 A 96 96, 0, 0 0, 1056 192 Z"/>
<text x="720" y="220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">foundreaderinfo</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 528,6624 A 96 96, 0, 0 0, 528 6816 L 912,6816 A 96 96, 0, 0 0, 912 6624 Z"/>
<text x="720" y="6652" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">End</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,768 720,885"/>
<polygon fill="#404040" stroke="none" points="720,912 746,865 693,865"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1152 720,1269"/>
<polygon fill="#404040" stroke="none" points="720,1296 746,1249 693,1249"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1488 720,1605"/>
<polygon fill="#404040" stroke="none" points="720,1632 746,1585 693,1585"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1824 720,1989"/>
<polygon fill="#404040" stroke="none" points="720,2016 746,1969 693,1969"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,2208 720,5925"/>
<polygon fill="#404040" stroke="none" points="720,5952 746,5905 693,5905"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,6144 720,6261"/>
<polygon fill="#404040" stroke="none" points="720,6288 746,6241 693,6241"/>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 336,528 L 336,768 L 1104,768 L 1104,528 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="336,576 1104,576"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="384,528 384,768"/>
<text x="744" y="604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="744" dy="96" unicode-bidi="embed">String reader1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 432,912 L 432,1152 L 1008,1152 L 1008,912 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="432,960 1008,960"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="480,912 480,1152"/>
<text x="744" y="988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="744" dy="96" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 528,1296 L 432,1488 L 912,1488 L 1008,1296 Z"/>
<text x="720" y="1324" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 432,1632 L 336,1824 L 1008,1824 L 1104,1632 Z"/>
<text x="720" y="1660" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input reader</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1008,2112 2592,2112 2592,2277"/>
<polygon fill="#404040" stroke="none" points="2592,2304 2618,2257 2565,2257"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2592,5616 2592,5760 816,5760 816,2234"/>
<polygon fill="#404040" stroke="none" points="816,2208 789,2254 842,2254"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3072,2592 3408,2592 3408,2949"/>
<polygon fill="#404040" stroke="none" points="3408,2976 3434,2929 3381,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3408,3552 3408,5568 2666,5568"/>
<polygon fill="#404040" stroke="none" points="2640,5568 2686,5594 2686,5541"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2112,2592 1728,2592 1728,2949"/>
<polygon fill="#404040" stroke="none" points="1728,2976 1754,2929 1701,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,3264 1728,5568 2517,5568"/>
<polygon fill="#404040" stroke="none" points="2544,5568 2497,5541 2497,5594"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2592,2304 L 2064,2592 L 2592,2880 L 3120,2592 Z"/>
<text x="2592" y="2524" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2592" dy="96" unicode-bidi="embed">id==reader-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3408,3168 3408,3333"/>
<polygon fill="#404040" stroke="none" points="3408,3360 3434,3313 3381,3313"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2880,2976 L 2784,3168 L 3936,3168 L 4032,2976 Z"/>
<text x="3408" y="3004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3408" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#20511;&#38405;&#30340;&#32534;&#21495;</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3984,3456 4704,3456 4704,3621"/>
<polygon fill="#404040" stroke="none" points="4704,3648 4730,3601 4677,3601"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4704,5184 4704,5328 3504,5328 3504,3578"/>
<polygon fill="#404040" stroke="none" points="3504,3552 3477,3598 3530,3598"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4704,4848 4704,4965"/>
<polygon fill="#404040" stroke="none" points="4704,4992 4730,4945 4677,4945"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5280,3984 5616,3984 5616,4389"/>
<polygon fill="#404040" stroke="none" points="5616,4416 5642,4369 5589,4369"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5616,4608 5616,4800 4778,4800"/>
<polygon fill="#404040" stroke="none" points="4752,4800 4798,4826 4798,4773"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4128,3984 3744,3984 3744,4800 4629,4800"/>
<polygon fill="#404040" stroke="none" points="4656,4800 4609,4773 4609,4826"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 4704,3648 L 4080,3984 L 4704,4320 L 5328,3984 Z"/>
<text x="4704" y="3916" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4704" dy="96" unicode-bidi="embed">reader-&gt;aiBookId[i] != 0</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5088,4416 L 4992,4608 L 6144,4608 L 6240,4416 Z"/>
<text x="5616" y="4444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5616" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#30340;&#20511;&#38405;&#32534;&#21495;</tspan>
</text>
</g>
<g>
</g>
<ellipse cx="4704" cy="4800" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="5472" y="3820" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5472" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="3912" y="3820" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3912" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 4320,4992 L 4224,5184 L 5088,5184 L 5184,4992 Z"/>
<text x="4704" y="5020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4704" dy="96" unicode-bidi="embed">Input nextreader</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2928,3360 L 2832,3456 L 2928,3552 L 3888,3552 L 3984,3456 L 3888,3360 Z"/>
<text x="3408" y="3388" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3408" dy="96" unicode-bidi="embed">i = 0 to reader-&gt;iMax</tspan>
</text>
</g>
<text x="4128" y="3292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4128" dy="96" unicode-bidi="embed">Next</tspan>
</text>
<text x="3240" y="3580" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3240" dy="96" unicode-bidi="embed">Done</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1200,2976 L 1056,3264 L 2256,3264 L 2400,2976 Z"/>
<text x="1728" y="3004" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1728" dy="96" unicode-bidi="embed">Output reader = reader-&gt;</tspan>
<tspan x="1728" dy="96" unicode-bidi="embed">next</tspan>
</text>
</g>
<ellipse cx="2592" cy="5568" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="3264" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3264" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1896" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 528,2016 L 432,2112 L 528,2208 L 912,2208 L 1008,2112 L 912,2016 Z"/>
<text x="720" y="2044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">reader</tspan>
</text>
</g>
<text x="1152" y="1948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1152" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="552" y="2236" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="552" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 288,5952 L 192,6144 L 1152,6144 L 1248,5952 Z"/>
<text x="720" y="5980" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#35813;&#35835;&#32773;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 336,6288 L 240,6480 L 1104,6480 L 1200,6288 Z"/>
<text x="720" y="6316" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input nextreader</tspan>
</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

Loading…
Cancel
Save