forked from pvfj5ugro/text3
xuzigui
2 years ago
parent
7a0a5fb3e7
commit
7117c5e40b
@ -0,0 +1,240 @@
|
||||
<?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="2914" height="5549">
|
||||
<rect x="0" y="0" width="2914" height="5549" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,248 372,323"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,341 389,310 354,310"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,1488 372,5283"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,5301 389,5270 354,5270"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="4" stroke-dasharray="none" d="M 217,124 A 62 62, 0, 0 0, 217 248 L 527,248 A 62 62, 0, 0 0, 527 124 Z"/>
|
||||
<text x="372" y="142" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="372" dy="62" unicode-bidi="embed">SortbyScore</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#E0E0E0" stroke="#505050" stroke-width="4" stroke-dasharray="none" d="M 186,5301 A 62 62, 0, 0 0, 186 5425 L 558,5425 A 62 62, 0, 0 0, 558 5301 Z"/>
|
||||
<text x="372" y="5319" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="372" dy="62" unicode-bidi="embed">Return Integer </tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,496 372,571"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,589 389,558 354,558"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,744 372,819"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,837 389,806 354,806"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,992 372,1067"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,1085 389,1054 354,1054"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="372,1240 372,1346"/>
|
||||
<polygon fill="#404040" stroke="none" points="372,1364 389,1333 354,1333"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 186,341 L 186,496 L 558,496 L 558,341 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="186,372 558,372"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="217,341 217,496"/>
|
||||
<text x="387" y="390" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="387" dy="62" unicode-bidi="embed">Integer i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 186,589 L 186,744 L 558,744 L 558,589 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="186,620 558,620"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="217,589 217,744"/>
|
||||
<text x="387" y="638" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="387" dy="62" unicode-bidi="embed">Integer j</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 186,837 L 186,992 L 558,992 L 558,837 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="186,868 558,868"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="217,837 217,992"/>
|
||||
<text x="387" y="886" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="387" dy="62" unicode-bidi="embed">Integer k</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 186,1085 L 186,1240 L 558,1240 L 558,1085 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="186,1116 558,1116"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" points="217,1085 217,1240"/>
|
||||
<text x="387" y="1134" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="387" dy="62" unicode-bidi="embed">Integer t</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="620,1426 992,1426 992,1532"/>
|
||||
<polygon fill="#404040" stroke="none" points="992,1550 1009,1519 974,1519"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="992,5084 992,5177 434,5177 434,1505"/>
|
||||
<polygon fill="#404040" stroke="none" points="434,1488 416,1518 451,1518"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="992,1674 992,1780"/>
|
||||
<polygon fill="#404040" stroke="none" points="992,1798 1009,1767 974,1767"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="992,1922 992,3020"/>
|
||||
<polygon fill="#404040" stroke="none" points="992,3038 1009,3007 974,3007"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 806,1550 L 806,1674 L 1178,1674 L 1178,1550 Z"/>
|
||||
<text x="992" y="1568" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="992" dy="62" unicode-bidi="embed">k = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1240,1860 1922,1860 1922,1966"/>
|
||||
<polygon fill="#404040" stroke="none" points="1922,1984 1939,1953 1904,1953"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1922,2821 1922,2914 1054,2914 1054,1939"/>
|
||||
<polygon fill="#404040" stroke="none" points="1054,1922 1036,1952 1071,1952"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2387,2232 2604,2232 2604,2524"/>
|
||||
<polygon fill="#404040" stroke="none" points="2604,2542 2621,2511 2586,2511"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2604,2666 2604,2790 1970,2790"/>
|
||||
<polygon fill="#404040" stroke="none" points="1953,2790 1983,2807 1983,2772"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1457,2232 1209,2232 1209,2790 1873,2790"/>
|
||||
<polygon fill="#404040" stroke="none" points="1891,2790 1860,2772 1860,2807"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1922,1984 L 1426,2232 L 1922,2480 L 2418,2232 Z"/>
|
||||
<text x="1922" y="2157" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1922" dy="62" unicode-bidi="embed">if ((*compare)(stu[j].sum, stu</tspan>
|
||||
<tspan x="1922" dy="62" unicode-bidi="embed">[k].sum))</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="4" stroke-dasharray="none" d="M 2418,2542 L 2418,2666 L 2790,2666 L 2790,2542 Z"/>
|
||||
<text x="2604" y="2560" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2604" dy="62" unicode-bidi="embed">k = j</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1922" cy="2790" rx="31" ry="31" fill="#C04040" stroke="#602020" stroke-width="4"/>
|
||||
<text x="2511" y="2126" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2511" dy="62" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="1317" y="2126" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1317" dy="62" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 806,1798 L 744,1860 L 806,1922 L 1178,1922 L 1240,1860 L 1178,1798 Z"/>
|
||||
<text x="992" y="1816" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="992" dy="62" unicode-bidi="embed">j = i+1 to n-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1333" y="1754" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1333" dy="62" unicode-bidi="embed">Next</tspan>
|
||||
</text>
|
||||
<text x="883" y="1940" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="883" dy="62" unicode-bidi="embed">Done</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1147,3131 1519,3131 1519,3299"/>
|
||||
<polygon fill="#404040" stroke="none" points="1519,3317 1536,3286 1501,3286"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1519,4929 1519,5053 1040,5053"/>
|
||||
<polygon fill="#404040" stroke="none" points="1023,5053 1053,5070 1053,5035"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="837,3131 589,3131 589,5053 943,5053"/>
|
||||
<polygon fill="#404040" stroke="none" points="961,5053 930,5035 930,5070"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="4" stroke-dasharray="none" d="M 992,3038 L 806,3131 L 992,3224 L 1178,3131 Z"/>
|
||||
<text x="992" y="3087" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="992" dy="62" unicode-bidi="embed">k!=i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1519,3441 1519,3888"/>
|
||||
<polygon fill="#404040" stroke="none" points="1519,3906 1536,3875 1501,3875"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1519,4092 1519,4167"/>
|
||||
<polygon fill="#404040" stroke="none" points="1519,4185 1536,4154 1501,4154"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1519,4371 1519,4446"/>
|
||||
<polygon fill="#404040" stroke="none" points="1519,4464 1536,4433 1501,4433"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1519,4650 1519,4725"/>
|
||||
<polygon fill="#404040" stroke="none" points="1519,4743 1536,4712 1501,4712"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="1767,3379 2139,3379 2139,3485"/>
|
||||
<polygon fill="#404040" stroke="none" points="2139,3503 2156,3472 2121,3472"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="8" stroke-dasharray="none" points="2139,3689 2139,3782 1581,3782 1581,3458"/>
|
||||
<polygon fill="#404040" stroke="none" points="1581,3441 1563,3471 1598,3471"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1705,3503 L 1705,3689 L 2573,3689 L 2573,3503 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1736,3503 1736,3689"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="2542,3503 2542,3689"/>
|
||||
<text x="2139" y="3521" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2139" dy="62" unicode-bidi="embed">SwapFloat(&stu[k].score[t], &</tspan>
|
||||
<tspan x="2139" dy="62" unicode-bidi="embed">stu[i].score[t])</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 1333,3317 L 1271,3379 L 1333,3441 L 1705,3441 L 1767,3379 L 1705,3317 Z"/>
|
||||
<text x="1519" y="3335" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">t = 0 to m-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1860" y="3273" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1860" dy="62" unicode-bidi="embed">Next</tspan>
|
||||
</text>
|
||||
<text x="1410" y="3459" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1410" dy="62" unicode-bidi="embed">Done</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1054,3906 L 1054,4092 L 1984,4092 L 1984,3906 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1085,3906 1085,4092"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1953,3906 1953,4092"/>
|
||||
<text x="1519" y="3924" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">SwapFloat(&stu[k].sum, &stu[i].</tspan>
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">sum)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1054,4185 L 1054,4371 L 1984,4371 L 1984,4185 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1085,4185 1085,4371"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1953,4185 1953,4371"/>
|
||||
<text x="1519" y="4203" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">SwapFloat(&stu[k].aver, &stu[i].</tspan>
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">aver)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1054,4464 L 1054,4650 L 1984,4650 L 1984,4464 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1085,4464 1085,4650"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1953,4464 1953,4650"/>
|
||||
<text x="1519" y="4482" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">SwapLong(&stu[k].num, &stu[i].</tspan>
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">num)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="4" stroke-dasharray="none" d="M 1116,4743 L 1116,4929 L 1922,4929 L 1922,4743 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1147,4743 1147,4929"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="4" stroke-dasharray="none" points="1891,4743 1891,4929"/>
|
||||
<text x="1519" y="4761" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">SwapChar(stu[k].name, stu</tspan>
|
||||
<tspan x="1519" dy="62" unicode-bidi="embed">[i].name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="992" cy="5053" rx="31" ry="31" fill="#FFD0D0" stroke="#A07070" stroke-width="4"/>
|
||||
<text x="1271" y="3025" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1271" dy="62" unicode-bidi="embed">True</tspan>
|
||||
</text>
|
||||
<text x="697" y="3025" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="697" dy="62" unicode-bidi="embed">False</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="4" stroke-dasharray="none" d="M 186,1364 L 124,1426 L 186,1488 L 558,1488 L 620,1426 L 558,1364 Z"/>
|
||||
<text x="372" y="1382" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="372" dy="62" unicode-bidi="embed">i = 0 to n-2</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="713" y="1320" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="713" dy="62" unicode-bidi="embed">Next</tspan>
|
||||
</text>
|
||||
<text x="263" y="1506" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="263" dy="62" unicode-bidi="embed">Done</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 16 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue