xuzilin
2 years ago
parent
5f38e8efd5
commit
28cf36b917
@ -0,0 +1,165 @@
|
|||||||
|
<?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="2945" height="4092">
|
||||||
|
<rect x="0" y="0" width="2945" height="4092" fill="#FFFFFF"/>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,310 589,385"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,403 606,372 571,372"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,3751 589,3826"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,3844 606,3813 571,3813"/>
|
||||||
|
<g>
|
||||||
|
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="4" stroke-dasharray="none" d="M 310,124 A 93 93, 0, 0 0, 310 310 L 868,310 A 93 93, 0, 0 0, 868 124 Z"/>
|
||||||
|
<text x="589" y="142" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">SearchbyName</tspan>
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">(Integer n, Integer m)</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#E0E0E0" stroke="#505050" stroke-width="4" stroke-dasharray="none" d="M 403,3844 A 62 62, 0, 0 0, 403 3968 L 775,3968 A 62 62, 0, 0 0, 775 3844 Z"/>
|
||||||
|
<text x="589" y="3862" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">Return Integer </tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,558 589,633"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,651 606,620 571,620"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,806 589,881"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,899 606,868 571,868"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,1054 589,1129"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,1147 606,1116 571,1116"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,1333 589,1408"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,1426 606,1395 571,1395"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,1550 589,1656"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,1674 606,1643 571,1643"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="589,1798 589,3609"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="589,3627 606,3596 571,3596"/>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 310,403 L 310,558 L 868,558 L 868,403 Z"/>
|
||||||
|
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="310,434 868,434"/>
|
||||||
|
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="341,403 341,558"/>
|
||||||
|
<text x="604" y="452" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="604" dy="62" unicode-bidi="embed">String x[MAX_LEN]</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 403,651 L 403,806 L 775,806 L 775,651 Z"/>
|
||||||
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="403,682 775,682"/>
|
||||||
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="434,651 434,806"/>
|
||||||
|
<text x="604" y="700" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="604" dy="62" unicode-bidi="embed">Integer i</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 403,899 L 403,1054 L 775,1054 L 775,899 Z"/>
|
||||||
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="403,930 775,930"/>
|
||||||
|
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="434,899 434,1054"/>
|
||||||
|
<text x="604" y="948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="604" dy="62" unicode-bidi="embed">Integer j</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 217,1147 L 124,1333 L 961,1333 L 1054,1147 Z"/>
|
||||||
|
<text x="589" y="1165" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">Output Input the name you</tspan>
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed"> want to search:</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 434,1426 L 372,1550 L 744,1550 L 806,1426 Z"/>
|
||||||
|
<text x="589" y="1444" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">Input %s</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,1736 1457,1736 1457,1842"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="1457,1860 1474,1829 1439,1829"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1457,3410 1457,3503 651,3503 651,1815"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="651,1798 633,1828 668,1828"/>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1860,2077 2077,2077 2077,2338"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="2077,2356 2094,2325 2059,2325"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2077,3255 2077,3379 1505,3379"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="1488,3379 1518,3396 1518,3361"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1054,2077 806,2077 806,3379 1408,3379"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="1426,3379 1395,3361 1395,3396"/>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1457,1860 L 1023,2077 L 1457,2294 L 1891,2077 Z"/>
|
||||||
|
<text x="1457" y="2033" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="1457" dy="62" unicode-bidi="embed">strcmp(stu[i].name, x) == 0</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2077,2480 2077,2586"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="2077,2604 2094,2573 2059,2573"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2077,2728 2077,3113"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="2077,3131 2094,3100 2059,3100"/>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1829,2356 L 1767,2480 L 2325,2480 L 2387,2356 Z"/>
|
||||||
|
<text x="2077" y="2374" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="2077" dy="62" unicode-bidi="embed">Output %ld\t%s\t</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2325,2666 2542,2666 2542,2772"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="2542,2790 2559,2759 2524,2759"/>
|
||||||
|
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2542,2914 2542,3007 2139,3007 2139,2745"/>
|
||||||
|
<polygon fill="#404040" stroke="none" points="2139,2728 2121,2758 2156,2758"/>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 2325,2790 L 2263,2914 L 2759,2914 L 2821,2790 Z"/>
|
||||||
|
<text x="2542" y="2808" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="2542" dy="62" unicode-bidi="embed">Output %.0f\t</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 1891,2604 L 1829,2666 L 1891,2728 L 2263,2728 L 2325,2666 L 2263,2604 Z"/>
|
||||||
|
<text x="2077" y="2622" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="2077" dy="62" unicode-bidi="embed">j = 0 to m-1</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<text x="2418" y="2560" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="2418" dy="62" unicode-bidi="embed">Next</tspan>
|
||||||
|
</text>
|
||||||
|
<text x="1968" y="2746" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="1968" dy="62" unicode-bidi="embed">Done</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1829,3131 L 1767,3255 L 2325,3255 L 2387,3131 Z"/>
|
||||||
|
<text x="2077" y="3149" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="2077" dy="62" unicode-bidi="embed">Output .0f\t%.0f\n</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
</g>
|
||||||
|
<ellipse cx="1457" cy="3379" rx="31" ry="31" fill="#C04040" stroke="#602020" stroke-width="4"/>
|
||||||
|
<text x="1984" y="1971" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="1984" dy="62" unicode-bidi="embed">True</tspan>
|
||||||
|
</text>
|
||||||
|
<text x="914" y="1971" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="914" dy="62" unicode-bidi="embed">False</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 403,1674 L 341,1736 L 403,1798 L 775,1798 L 837,1736 L 775,1674 Z"/>
|
||||||
|
<text x="589" y="1692" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">i = 0 to n-1</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<text x="930" y="1630" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="930" dy="62" unicode-bidi="embed">Next</tspan>
|
||||||
|
</text>
|
||||||
|
<text x="480" y="1816" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="480" dy="62" unicode-bidi="embed">Done</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 279,3627 L 217,3751 L 899,3751 L 961,3627 Z"/>
|
||||||
|
<text x="589" y="3645" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||||
|
<tspan x="589" dy="62" unicode-bidi="embed">Output \nNot found!\n</tspan>
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 11 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue