Compare commits
1 Commits
master
...
liuchengtu
Author | SHA1 | Message | Date |
---|---|---|---|
张江楠 | 10e1ee12b0 |
lct
|
1 year ago |
@ -1,192 +0,0 @@
|
||||
<?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="2916" height="5292">
|
||||
<rect x="0" y="0" width="2916" height="5292" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,288 540,375"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,396 560,361 519,361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,2412 540,4983"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,5004 560,4969 519,4969"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 396,144 A 72 72, 0, 0 0, 396 288 L 684,288 A 72 72, 0, 0 0, 684 144 Z"/>
|
||||
<text x="540" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 396,5004 A 72 72, 0, 0 0, 396 5148 L 684,5148 A 72 72, 0, 0 0, 684 5004 Z"/>
|
||||
<text x="540" y="5025" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">结束</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,540 540,627"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,648 560,613 519,613"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,828 540,915"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,936 560,901 519,901"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,1080 540,1167"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,1188 560,1153 519,1153"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,1368 540,1491"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,1512 560,1477 519,1477"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,1656 540,1959"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,1980 560,1945 519,1945"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="540,2124 540,2247"/>
|
||||
<polygon fill="#404040" stroke="none" points="540,2268 560,2233 519,2233"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 324,396 L 324,540 L 756,540 L 756,396 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="360,396 360,540"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="720,396 720,540"/>
|
||||
<text x="540" y="417" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">creatjz()</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 180,648 L 180,828 L 900,828 L 900,648 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="180,684 900,684"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="216,648 216,828"/>
|
||||
<text x="558" y="705" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="558" dy="72" unicode-bidi="embed">逻辑值 edgenode *p</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 324,936 L 324,1080 L 756,1080 L 756,936 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="360,936 360,1080"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="720,936 720,1080"/>
|
||||
<text x="540" y="957" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">aaa()</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 324,1188 L 324,1368 L 756,1368 L 756,1188 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="324,1224 756,1224"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="360,1188 360,1368"/>
|
||||
<text x="558" y="1245" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="558" dy="72" unicode-bidi="embed">整数值 i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,1584 1080,1584 1080,1836 612,1836 612,1676"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,1656 591,1690 632,1690"/>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 324,1512 L 252,1584 L 324,1656 L 756,1656 L 828,1584 L 756,1512 Z"/>
|
||||
<text x="540" y="1533" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">i = 0 到 nm</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="972" y="1461" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="972" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="432" y="1677" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="432" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 144,1980 L 144,2124 L 936,2124 L 936,1980 Z"/>
|
||||
<text x="540" y="2001" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">p = nm.adjust[i].firstnode</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="828,2340 1044,2340 1044,2463"/>
|
||||
<polygon fill="#404040" stroke="none" points="1044,2484 1064,2449 1023,2449"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1044,3204 1044,4860 612,4860 612,2432"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,2412 591,2446 632,2446"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1044,2628 1044,2715"/>
|
||||
<polygon fill="#404040" stroke="none" points="1044,2736 1064,2701 1023,2701"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1044,2916 1044,3039"/>
|
||||
<polygon fill="#404040" stroke="none" points="1044,3060 1064,3025 1023,3025"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 828,2484 L 828,2628 L 1260,2628 L 1260,2484 Z"/>
|
||||
<text x="1044" y="2505" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1044" dy="72" unicode-bidi="embed">p! = NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 828,2736 L 828,2916 L 1260,2916 L 1260,2736 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="828,2772 1260,2772"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="864,2736 864,2916"/>
|
||||
<text x="1062" y="2793" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1062" dy="72" unicode-bidi="embed">整数值 h</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1332,3132 2016,3132 2016,3255"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,3276 2036,3241 1995,3241"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,4608 2016,4716 1116,4716 1116,3224"/>
|
||||
<polygon fill="#404040" stroke="none" points="1116,3204 1095,3238 1136,3238"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,4104 2016,4191"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,4212 2036,4177 1995,4177"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,4356 2016,4443"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,4464 2036,4429 1995,4429"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2556,3564 2736,3564 2736,4068 2072,4068"/>
|
||||
<polygon fill="#404040" stroke="none" points="2052,4068 2086,4088 2086,4047"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1476,3564 1296,3564 1296,4068 1959,4068"/>
|
||||
<polygon fill="#404040" stroke="none" points="1980,4068 1945,4047 1945,4088"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 2016,3276 L 1440,3564 L 2016,3852 L 2592,3564 Z"/>
|
||||
<text x="2016" y="3477" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">!strcmp(p->a,nm.adjust[h].</tspan>
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2016" cy="4068" rx="36" ry="36" fill="#C04040" stroke="#602020" stroke-width="5"/>
|
||||
<text x="2664" y="3441" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2664" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1368" y="3441" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1368" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1800,4212 L 1800,4356 L 2232,4356 L 2232,4212 Z"/>
|
||||
<text x="2016" y="4233" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">cont[i][h] = 1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1800,4464 L 1800,4608 L 2232,4608 L 2232,4464 Z"/>
|
||||
<text x="2016" y="4485" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2016" dy="72" unicode-bidi="embed">p = p->next</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 828,3060 L 756,3132 L 828,3204 L 1260,3204 L 1332,3132 L 1260,3060 Z"/>
|
||||
<text x="1044" y="3081" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1044" dy="72" unicode-bidi="embed">h = 0 到 nm</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1476" y="3009" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1476" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="936" y="3225" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="936" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#E0E0E0" stroke="#505050" stroke-width="5" stroke-dasharray="none" d="M 324,2268 L 252,2340 L 324,2412 L 756,2412 L 828,2340 L 756,2268 Z"/>
|
||||
<text x="540" y="2289" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">While循环</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="900" y="2217" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="900" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="468" y="2433" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="468" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 13 KiB |
@ -1,714 +0,0 @@
|
||||
<?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="4368" height="26400">
|
||||
<rect x="0" y="0" width="4368" height="26400" 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,25872 864,25989"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,26016 890,25969 837,25969"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 672,192 A 96 96, 0, 0 0, 672 384 L 1056,384 A 96 96, 0, 0 0, 1056 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">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 672,26016 A 96 96, 0, 0 0, 672 26208 L 1056,26208 A 96 96, 0, 0 0, 1056 26016 Z"/>
|
||||
<text x="864" y="26044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">结束</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,720 864,837"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,864 890,817 837,817"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1056 864,1173"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1200 890,1153 837,1153"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1392 864,1509"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1536 890,1489 837,1489"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1824 864,1941"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1968 890,1921 837,1921"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,2160 864,2325"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,2352 890,2305 837,2305"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,2544 864,6117"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,6144 890,6097 837,6097"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,6336 864,14949"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,14976 890,14929 837,14929"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,15168 864,24837"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,24864 890,24817 837,24817"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,25056 864,25653"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,25680 890,25633 837,25633"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 576,528 L 576,720 L 1152,720 L 1152,528 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="624,528 624,720"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1104,528 1104,720"/>
|
||||
<text x="864" y="556" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">creatnode</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 576,864 L 576,1056 L 1152,1056 L 1152,864 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="624,864 624,1056"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1104,864 1104,1056"/>
|
||||
<text x="864" y="892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">createlist</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 576,1200 L 576,1392 L 1152,1392 L 1152,1200 Z"/>
|
||||
<text x="864" y="1228" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">n = 10</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 336,1536 L 192,1824 L 1392,1824 L 1536,1536 Z"/>
|
||||
<text x="864" y="1564" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 正在初始化数据,</tspan>
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">请稍候!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 384,1968 L 288,2160 L 1344,2160 L 1440,1968 Z"/>
|
||||
<text x="864" y="1996" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 欢迎使用本系统!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,2448 2064,2448 2064,2613"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,2640 2090,2593 2037,2593"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,5760 2064,5904 960,5904 960,2570"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,2544 933,2590 986,2590"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,2928 2064,3045"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3072 2090,3025 2037,3025"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3264 2064,3381"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3408 2090,3361 2037,3361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3600 2064,3717"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3744 2090,3697 2037,3697"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3936 2064,4053"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4080 2090,4033 2037,4033"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4272 2064,4389"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4416 2090,4369 2037,4369"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4608 2064,4725"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4752 2090,4705 2037,4705"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4992 2064,5109"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,5136 2090,5089 2037,5089"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,5376 2064,5493"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,5520 2090,5473 2037,5473"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1296,2640 L 1152,2928 L 2832,2928 L 2976,2640 Z"/>
|
||||
<text x="2064" y="2668" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出</tspan>
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed"> 欢迎来到上海市地铁交通服务平台!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1536,3072 L 1440,3264 L 2592,3264 L 2688,3072 Z"/>
|
||||
<text x="2064" y="3100" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 1.最佳出行线路推荐</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1584,3408 L 1488,3600 L 2544,3600 L 2640,3408 Z"/>
|
||||
<text x="2064" y="3436" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 2.出行费用预估</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1632,3744 L 1536,3936 L 2496,3936 L 2592,3744 Z"/>
|
||||
<text x="2064" y="3772" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 0.退出系统!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1728,4080 L 1632,4272 L 2400,4272 L 2496,4080 Z"/>
|
||||
<text x="2064" y="4108" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 请输入!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1872,4416 L 1776,4608 L 2256,4608 L 2352,4416 Z"/>
|
||||
<text x="2064" y="4444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输入 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1584,4752 L 1584,4992 L 2544,4992 L 2544,4752 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1584,4800 2544,4800"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1632,4752 1632,4992"/>
|
||||
<text x="2088" y="4828" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">字符串 Array str[100]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1776,5136 L 1776,5376 L 2352,5376 L 2352,5136 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1776,5184 2352,5184"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1824,5136 1824,5376"/>
|
||||
<text x="2088" y="5212" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">整数值 n9</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1776,5520 L 1776,5760 L 2352,5760 L 2352,5520 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1776,5568 2352,5568"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1824,5520 1824,5760"/>
|
||||
<text x="2088" y="5596" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">整数值 n10</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,2352 L 576,2448 L 672,2544 L 1056,2544 L 1152,2448 L 1056,2352 Z"/>
|
||||
<text x="864" y="2380" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="2284" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="2572" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,6240 1728,6240 1728,6405"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,6432 1754,6385 1701,6385"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,14592 1728,14736 960,14736 960,6362"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,6336 933,6382 986,6382"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,6624 1728,6741"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,6768 1754,6721 1701,6721"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,6960 1728,7077"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,7104 1754,7057 1701,7057"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,7296 1728,7461"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,7488 1754,7441 1701,7441"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,7680 1728,10341"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,10368 1754,10321 1701,10321"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,10560 1728,10677"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,10704 1754,10657 1701,10657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,10896 1728,11013"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,11040 1754,10993 1701,10993"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,11232 1728,11397"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,11424 1754,11377 1701,11377"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,11616 1728,13317"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,13344 1754,13297 1701,13297"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,14256 1728,14373"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,14400 1754,14353 1701,14353"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,6432 L 1248,6624 L 2112,6624 L 2208,6432 Z"/>
|
||||
<text x="1728" y="6460" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入起点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,6768 L 1392,6960 L 1968,6960 L 2064,6768 Z"/>
|
||||
<text x="1728" y="6796" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,7104 L 1440,7296 L 2016,7296 L 2016,7104 Z"/>
|
||||
<text x="1728" y="7132" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,7584 2976,7584 2976,7749"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,7776 3002,7729 2949,7729"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,10032 2976,10176 1824,10176 1824,7706"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,7680 1797,7726 1850,7726"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,9072 2976,9189"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,9216 3002,9169 2949,9169"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,8160 3888,8160 3888,8613"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,8640 3914,8593 3861,8593"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,8832 3888,9024 3050,9024"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,9024 3070,9050 3070,8997"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,8160 2064,8160 2064,9024 2901,9024"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,9024 2881,8997 2881,9050"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,7776 L 2256,8160 L 2976,8544 L 3696,8160 Z"/>
|
||||
<text x="2976" y="8044" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,8640 L 3600,8832 L 4176,8832 L 4176,8640 Z"/>
|
||||
<text x="3888" y="8668" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n9 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="9024" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="7996" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="7996" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,9360 3600,9360 3600,9573"/>
|
||||
<polygon fill="#404040" stroke="none" points="3600,9600 3626,9553 3573,9553"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3600,9792 3600,9984 3050,9984"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,9984 3070,10010 3070,9957"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2736,9360 2496,9360 2496,9984 2901,9984"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,9984 2881,9957 2881,10010"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 2976,9216 L 2688,9360 L 2976,9504 L 3264,9360 Z"/>
|
||||
<text x="2976" y="9292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">n9==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3168,9600 L 3072,9792 L 4032,9792 L 4128,9600 Z"/>
|
||||
<text x="3600" y="9628" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3600" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="9984" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="3360" y="9196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3360" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2592" y="9196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2592" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,7488 L 1392,7584 L 1488,7680 L 1968,7680 L 2064,7584 L 1968,7488 Z"/>
|
||||
<text x="1728" y="7516" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="7420" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="7708" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,10368 L 1440,10560 L 2016,10560 L 2016,10368 Z"/>
|
||||
<text x="1728" y="10396" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,10704 L 1248,10896 L 2112,10896 L 2208,10704 Z"/>
|
||||
<text x="1728" y="10732" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入终点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,11040 L 1392,11232 L 1968,11232 L 2064,11040 Z"/>
|
||||
<text x="1728" y="11068" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,11520 2976,11520 2976,11685"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,11712 3002,11665 2949,11665"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,13008 2976,13152 1824,13152 1824,11642"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,11616 1797,11662 1850,11662"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,12096 3888,12096 3888,12549"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,12576 3914,12529 3861,12529"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,12768 3888,12960 3050,12960"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,12960 3070,12986 3070,12933"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,12096 2064,12096 2064,12960 2901,12960"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,12960 2881,12933 2881,12986"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,11712 L 2256,12096 L 2976,12480 L 3696,12096 Z"/>
|
||||
<text x="2976" y="11980" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,12576 L 3600,12768 L 4176,12768 L 4176,12576 Z"/>
|
||||
<text x="3888" y="12604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n10 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="12960" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="11932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="11932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,11424 L 1392,11520 L 1488,11616 L 1968,11616 L 2064,11520 L 1968,11424 Z"/>
|
||||
<text x="1728" y="11452" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="11356" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="11644" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,13536 2352,13536 2352,13797"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,13824 2378,13777 2325,13777"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,14016 2352,14208 1802,14208"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,14208 1822,14234 1822,14181"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1440,13536 1200,13536 1200,14208 1653,14208"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,14208 1633,14181 1633,14234"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,13344 L 1392,13536 L 1728,13728 L 2064,13536 Z"/>
|
||||
<text x="1728" y="13468" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,13824 L 1824,14016 L 2784,14016 L 2880,13824 Z"/>
|
||||
<text x="2352" y="13852" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="14208" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2160" y="13372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1296" y="13372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1296" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 1440,14400 L 1440,14592 L 2016,14592 L 2016,14400 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1488,14400 1488,14592"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1968,14400 1968,14592"/>
|
||||
<text x="1728" y="14428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">Dijstra</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,6144 L 576,6240 L 672,6336 L 1056,6336 L 1152,6240 L 1056,6144 Z"/>
|
||||
<text x="864" y="6172" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="6076" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="6364" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,15072 1728,15072 1728,15237"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15264 1754,15217 1701,15217"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,24480 1728,24624 960,24624 960,15194"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,15168 933,15214 986,15214"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,15456 1728,15573"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15600 1754,15553 1701,15553"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,15840 1728,15957"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15984 1754,15937 1701,15937"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16176 1728,16293"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,16320 1754,16273 1701,16273"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16512 1728,16677"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,16704 1754,16657 1701,16657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16896 1728,18933"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,18960 1754,18913 1701,18913"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,19776 1728,19893"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,19920 1754,19873 1701,19873"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20112 1728,20229"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20256 1754,20209 1701,20209"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20448 1728,20565"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20592 1754,20545 1701,20545"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20784 1728,20949"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20976 1754,20929 1701,20929"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,21168 1728,22869"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,22896 1754,22849 1701,22849"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,15264 L 1248,15456 L 2112,15456 L 2208,15264 Z"/>
|
||||
<text x="1728" y="15292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入起点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1248,15600 L 1248,15840 L 2208,15840 L 2208,15600 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1248,15648 2208,15648"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1296,15600 1296,15840"/>
|
||||
<text x="1752" y="15676" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1752" dy="96" unicode-bidi="embed">整数值 Array str[100]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,15984 L 1392,16176 L 1968,16176 L 2064,15984 Z"/>
|
||||
<text x="1728" y="16012" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,16320 L 1440,16512 L 2016,16512 L 2016,16320 Z"/>
|
||||
<text x="1728" y="16348" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,16800 2976,16800 2976,16965"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,16992 3002,16945 2949,16945"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,18624 2976,18768 1824,18768 1824,16922"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,16896 1797,16942 1850,16942"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,17184 2976,17301"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,17328 3002,17281 2949,17281"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 2688,16992 L 2688,17184 L 3264,17184 L 3264,16992 Z"/>
|
||||
<text x="2976" y="17020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,17712 3888,17712 3888,18165"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,18192 3914,18145 3861,18145"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,18384 3888,18576 3050,18576"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,18576 3070,18602 3070,18549"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,17712 2064,17712 2064,18576 2901,18576"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,18576 2881,18549 2881,18602"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,17328 L 2256,17712 L 2976,18096 L 3696,17712 Z"/>
|
||||
<text x="2976" y="17596" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,18192 L 3600,18384 L 4176,18384 L 4176,18192 Z"/>
|
||||
<text x="3888" y="18220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n9 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="18576" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="17548" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="17548" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#E0E0E0" stroke="#505050" stroke-width="6" stroke-dasharray="none" d="M 1488,16704 L 1392,16800 L 1488,16896 L 1968,16896 L 2064,16800 L 1968,16704 Z"/>
|
||||
<text x="1728" y="16732" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">For循环</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="16636" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="16924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1968,19104 2352,19104 2352,19317"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,19344 2378,19297 2325,19297"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,19536 2352,19728 1802,19728"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,19728 1822,19754 1822,19701"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1488,19104 1248,19104 1248,19728 1653,19728"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,19728 1633,19701 1633,19754"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,18960 L 1440,19104 L 1728,19248 L 2016,19104 Z"/>
|
||||
<text x="1728" y="19036" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,19344 L 1824,19536 L 2784,19536 L 2880,19344 Z"/>
|
||||
<text x="2352" y="19372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="19728" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2112" y="18940" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2112" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1344" y="18940" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1344" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,19920 L 1440,20112 L 2016,20112 L 2016,19920 Z"/>
|
||||
<text x="1728" y="19948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,20256 L 1248,20448 L 2112,20448 L 2208,20256 Z"/>
|
||||
<text x="1728" y="20284" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入终点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,20592 L 1392,20784 L 1968,20784 L 2064,20592 Z"/>
|
||||
<text x="1728" y="20620" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,21072 2976,21072 2976,21237"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,21264 3002,21217 2949,21217"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,22560 2976,22704 1824,22704 1824,21194"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,21168 1797,21214 1850,21214"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,21648 3888,21648 3888,22101"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,22128 3914,22081 3861,22081"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,22320 3888,22512 3050,22512"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,22512 3070,22538 3070,22485"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,21648 2064,21648 2064,22512 2901,22512"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,22512 2881,22485 2881,22538"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,21264 L 2256,21648 L 2976,22032 L 3696,21648 Z"/>
|
||||
<text x="2976" y="21532" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,22128 L 3600,22320 L 4176,22320 L 4176,22128 Z"/>
|
||||
<text x="3888" y="22156" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n10 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="22512" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="21484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="21484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,20976 L 1392,21072 L 1488,21168 L 1968,21168 L 2064,21072 L 1968,20976 Z"/>
|
||||
<text x="1728" y="21004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="20908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="21196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,23088 2352,23088 2352,23349"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,23376 2378,23329 2325,23329"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,24240 2352,24432 1802,24432"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,24432 1822,24458 1822,24405"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1440,23088 1200,23088 1200,24432 1653,24432"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,24432 1633,24405 1633,24458"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,22896 L 1392,23088 L 1728,23280 L 2064,23088 Z"/>
|
||||
<text x="1728" y="23020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,23568 2352,23685"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,23712 2378,23665 2325,23665"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,23904 2352,24021"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,24048 2378,24001 2325,24001"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,23376 L 1824,23568 L 2784,23568 L 2880,23376 Z"/>
|
||||
<text x="2352" y="23404" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 2064,23712 L 2064,23904 L 2640,23904 L 2640,23712 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="2112,23712 2112,23904"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="2592,23712 2592,23904"/>
|
||||
<text x="2352" y="23740" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">Dijkstra</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,24048 L 1824,24240 L 2784,24240 L 2880,24048 Z"/>
|
||||
<text x="2352" y="24076" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 预估消费%d元</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="24432" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2160" y="22924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1296" y="22924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1296" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,14976 L 576,15072 L 672,15168 L 1056,15168 L 1152,15072 L 1056,14976 Z"/>
|
||||
<text x="864" y="15004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case2</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="14908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="15196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,24960 1584,24960 1584,25125"/>
|
||||
<polygon fill="#404040" stroke="none" points="1584,25152 1610,25105 1557,25105"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1584,25344 1584,25488 960,25488 960,25082"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,25056 933,25102 986,25102"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1248,25152 L 1152,25344 L 1920,25344 L 2016,25152 Z"/>
|
||||
<text x="1584" y="25180" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">输出 return 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,24864 L 576,24960 L 672,25056 L 1056,25056 L 1152,24960 L 1056,24864 Z"/>
|
||||
<text x="864" y="24892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="24796" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="25084" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 528,25680 L 432,25872 L 1200,25872 L 1296,25680 Z"/>
|
||||
<text x="864" y="25708" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 return 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 50 KiB |
@ -1,132 +0,0 @@
|
||||
<?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="1476" height="3636">
|
||||
<rect x="0" y="0" width="1476" height="3636" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,288 612,375"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,396 632,361 591,361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,3240 612,3327"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,3348 632,3313 591,3313"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 468,144 A 72 72, 0, 0 0, 468 288 L 756,288 A 72 72, 0, 0 0, 756 144 Z"/>
|
||||
<text x="612" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 468,3348 A 72 72, 0, 0 0, 468 3492 L 756,3492 A 72 72, 0, 0 0, 756 3348 Z"/>
|
||||
<text x="612" y="3369" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">结束</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,540 612,627"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,648 632,613 591,613"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,792 612,879"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,900 632,865 591,865"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,1080 612,1203"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,1224 632,1189 591,1189"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,1368 612,1671"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,1692 632,1657 591,1657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,1836 612,1923"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,1944 632,1909 591,1909"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,2088 612,2211"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,2232 632,2197 591,2197"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="612,2376 612,3075"/>
|
||||
<polygon fill="#404040" stroke="none" points="612,3096 632,3061 591,3061"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 396,396 L 396,540 L 828,540 L 828,396 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="432,396 432,540"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" points="792,396 792,540"/>
|
||||
<text x="612" y="417" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">print()</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 288,648 L 216,792 L 936,792 L 1008,648 Z"/>
|
||||
<text x="612" y="669" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">输入 edgenode* p</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 396,900 L 396,1080 L 828,1080 L 828,900 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="396,936 828,936"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="432,900 432,1080"/>
|
||||
<text x="630" y="957" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="630" dy="72" unicode-bidi="embed">整数值 i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="900,1296 1152,1296 1152,1548 684,1548 684,1388"/>
|
||||
<polygon fill="#404040" stroke="none" points="684,1368 663,1402 704,1402"/>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 396,1224 L 324,1296 L 396,1368 L 828,1368 L 900,1296 L 828,1224 Z"/>
|
||||
<text x="612" y="1245" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">i = 0 到 nm</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1044" y="1173" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1044" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="504" y="1389" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="504" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 216,1692 L 144,1836 L 1008,1836 L 1080,1692 Z"/>
|
||||
<text x="612" y="1713" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">输出 nm.adjust[i].name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 216,1944 L 216,2088 L 1008,2088 L 1008,1944 Z"/>
|
||||
<text x="612" y="1965" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">p = nm.adjust[i].firstnode</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="864,2304 1080,2304 1080,2427"/>
|
||||
<polygon fill="#404040" stroke="none" points="1080,2448 1100,2413 1059,2413"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1080,2844 1080,2952 684,2952 684,2396"/>
|
||||
<polygon fill="#404040" stroke="none" points="684,2376 663,2410 704,2410"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1080,2592 1080,2679"/>
|
||||
<polygon fill="#404040" stroke="none" points="1080,2700 1100,2665 1059,2665"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 900,2448 L 828,2592 L 1260,2592 L 1332,2448 Z"/>
|
||||
<text x="1080" y="2469" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">输出 p->a</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 864,2700 L 864,2844 L 1296,2844 L 1296,2700 Z"/>
|
||||
<text x="1080" y="2721" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">p = p->next</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 432,2232 L 360,2304 L 432,2376 L 792,2376 L 864,2304 L 792,2232 Z"/>
|
||||
<text x="612" y="2253" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">p!=NULL</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="936" y="2181" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="936" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="540" y="2397" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 468,3096 L 396,3240 L 756,3240 L 828,3096 Z"/>
|
||||
<text x="612" y="3117" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="612" dy="72" unicode-bidi="embed">输出 \n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 8.4 KiB |
@ -1,511 +0,0 @@
|
||||
<?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="5652" height="13284">
|
||||
<rect x="0" y="0" width="5652" height="13284" fill="#FFFFFF"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,288 648,375"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,396 668,361 627,361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,9900 648,12975"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,12996 668,12961 627,12961"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 504,144 A 72 72, 0, 0 0, 504 288 L 792,288 A 72 72, 0, 0 0, 792 144 Z"/>
|
||||
<text x="648" y="165" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="5" stroke-dasharray="none" d="M 504,12996 A 72 72, 0, 0 0, 504 13140 L 792,13140 A 72 72, 0, 0 0, 792 12996 Z"/>
|
||||
<text x="648" y="13017" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">结束</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,576 648,663"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,684 668,649 627,649"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,828 648,915"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,936 668,901 627,901"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,1080 648,1167"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,1188 668,1153 627,1153"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,1440 648,1527"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,1548 668,1513 627,1513"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,1800 648,1923"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,1944 668,1909 627,1909"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,2088 648,3399"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,3420 668,3385 627,3385"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,3564 648,3651"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,3672 668,3637 627,3637"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,3816 648,3939"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,3960 668,3925 627,3925"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,4104 648,9375"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,9396 668,9361 627,9361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="648,9612 648,9735"/>
|
||||
<polygon fill="#404040" stroke="none" points="648,9756 668,9721 627,9721"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 396,396 L 396,576 L 900,576 L 900,396 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="396,432 900,432"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="432,396 432,576"/>
|
||||
<text x="666" y="453" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="666" dy="72" unicode-bidi="embed">整数值 num2</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 432,684 L 432,828 L 864,828 L 864,684 Z"/>
|
||||
<text x="648" y="705" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">num2 = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 360,936 L 360,1080 L 936,1080 L 936,936 Z"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="396,936 396,1080"/>
|
||||
<polyline fill="none" stroke="#602020" stroke-width="5" stroke-dasharray="none" points="900,936 900,1080"/>
|
||||
<text x="648" y="957" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">void Dijkstra()</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 216,1188 L 216,1440 L 1080,1440 L 1080,1188 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="216,1224 1080,1224"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="252,1188 252,1440"/>
|
||||
<text x="666" y="1245" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="666" dy="72" unicode-bidi="embed">整数值 v1, v2, min, i, j, u,</tspan>
|
||||
<tspan x="666" dy="72" unicode-bidi="embed"> pre</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 216,1548 L 216,1800 L 1080,1800 L 1080,1548 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="216,1584 1080,1584"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" points="252,1548 252,1800"/>
|
||||
<text x="666" y="1605" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="666" dy="72" unicode-bidi="embed">整数值 Array dist[MAX], s</tspan>
|
||||
<tspan x="666" dy="72" unicode-bidi="embed">[MAX], path[MAX]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="936,2016 1620,2016 1620,2139"/>
|
||||
<polygon fill="#404040" stroke="none" points="1620,2160 1640,2125 1599,2125"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1620,3168 1620,3276 720,3276 720,2108"/>
|
||||
<polygon fill="#404040" stroke="none" points="720,2088 699,2122 740,2122"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1620,2304 1620,2391"/>
|
||||
<polygon fill="#404040" stroke="none" points="1620,2412 1640,2377 1599,2377"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1404,2160 L 1404,2304 L 1836,2304 L 1836,2160 Z"/>
|
||||
<text x="1620" y="2181" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1620" dy="72" unicode-bidi="embed">s[i] = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1944,2592 2124,2592 2124,2823"/>
|
||||
<polygon fill="#404040" stroke="none" points="2124,2844 2144,2809 2103,2809"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2124,2988 2124,3132 1676,3132"/>
|
||||
<polygon fill="#404040" stroke="none" points="1656,3132 1690,3152 1690,3111"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1296,2592 1116,2592 1116,2823"/>
|
||||
<polygon fill="#404040" stroke="none" points="1116,2844 1136,2809 1095,2809"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1116,2988 1116,3132 1563,3132"/>
|
||||
<polygon fill="#404040" stroke="none" points="1584,3132 1549,3111 1549,3152"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1620,2412 L 1260,2592 L 1620,2772 L 1980,2592 Z"/>
|
||||
<text x="1620" y="2541" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1620" dy="72" unicode-bidi="embed">cont[v1][i]<MAX</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 1908,2844 L 1908,2988 L 2340,2988 L 2340,2844 Z"/>
|
||||
<text x="2124" y="2865" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2124" dy="72" unicode-bidi="embed">path[i] = v1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 900,2844 L 900,2988 L 1332,2988 L 1332,2844 Z"/>
|
||||
<text x="1116" y="2865" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1116" dy="72" unicode-bidi="embed">path[i] = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<ellipse cx="1620" cy="3132" rx="36" ry="36" fill="#C04040" stroke="#602020" stroke-width="5"/>
|
||||
<text x="2052" y="2469" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2052" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1188" y="2469" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 432,1944 L 360,2016 L 432,2088 L 864,2088 L 936,2016 L 864,1944 Z"/>
|
||||
<text x="648" y="1965" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">i = 0 到 num</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1080" y="1893" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="540" y="2109" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 432,3420 L 432,3564 L 864,3564 L 864,3420 Z"/>
|
||||
<text x="648" y="3441" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">s[v1] = 1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 432,3672 L 432,3816 L 864,3816 L 864,3672 Z"/>
|
||||
<text x="648" y="3693" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">path[v1] = 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="936,4032 1188,4032 1188,4155"/>
|
||||
<polygon fill="#404040" stroke="none" points="1188,4176 1208,4141 1167,4141"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1188,4860 1188,9252 720,9252 720,4124"/>
|
||||
<polygon fill="#404040" stroke="none" points="720,4104 699,4138 740,4138"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1188,4320 1188,4407"/>
|
||||
<polygon fill="#404040" stroke="none" points="1188,4428 1208,4393 1167,4393"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1188,4572 1188,4695"/>
|
||||
<polygon fill="#404040" stroke="none" points="1188,4716 1208,4681 1167,4681"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 972,4176 L 972,4320 L 1404,4320 L 1404,4176 Z"/>
|
||||
<text x="1188" y="4197" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">min = MAX</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 972,4428 L 972,4572 L 1404,4572 L 1404,4428 Z"/>
|
||||
<text x="1188" y="4449" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">u = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1476,4788 1980,4788 1980,4911"/>
|
||||
<polygon fill="#404040" stroke="none" points="1980,4932 2000,4897 1959,4897"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1980,9000 1980,9108 1260,9108 1260,4880"/>
|
||||
<polygon fill="#404040" stroke="none" points="1260,4860 1239,4894 1280,4894"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2340,5148 2520,5148 2520,5415"/>
|
||||
<polygon fill="#404040" stroke="none" points="2520,5436 2540,5401 2499,5401"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2520,8820 2520,8964 2036,8964"/>
|
||||
<polygon fill="#404040" stroke="none" points="2016,8964 2050,8984 2050,8943"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1620,5148 1440,5148 1440,8964 1923,8964"/>
|
||||
<polygon fill="#404040" stroke="none" points="1944,8964 1909,8943 1909,8984"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 1980,4932 L 1584,5148 L 1980,5364 L 2376,5148 Z"/>
|
||||
<text x="1980" y="5097" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1980" dy="72" unicode-bidi="embed">s[j]==0&&dist[j]<min</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2520,5580 2520,5667"/>
|
||||
<polygon fill="#404040" stroke="none" points="2520,5688 2540,5653 2499,5653"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2520,5832 2520,5919"/>
|
||||
<polygon fill="#404040" stroke="none" points="2520,5940 2540,5905 2499,5905"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 2304,5436 L 2304,5580 L 2736,5580 L 2736,5436 Z"/>
|
||||
<text x="2520" y="5457" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2520" dy="72" unicode-bidi="embed">u = j</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 2304,5688 L 2304,5832 L 2736,5832 L 2736,5688 Z"/>
|
||||
<text x="2520" y="5709" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2520" dy="72" unicode-bidi="embed">min = dist[j]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2700,6048 2880,6048 2880,6207"/>
|
||||
<polygon fill="#404040" stroke="none" points="2880,6228 2900,6193 2859,6193"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2880,6660 2880,8784 2576,8784"/>
|
||||
<polygon fill="#404040" stroke="none" points="2556,8784 2590,8804 2590,8763"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2340,6048 2160,6048 2160,8784 2463,8784"/>
|
||||
<polygon fill="#404040" stroke="none" points="2484,8784 2449,8763 2449,8804"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 2520,5940 L 2304,6048 L 2520,6156 L 2736,6048 Z"/>
|
||||
<text x="2520" y="5997" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2520" dy="72" unicode-bidi="embed">u!=-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2880,6372 2880,6495"/>
|
||||
<polygon fill="#404040" stroke="none" points="2880,6516 2900,6481 2859,6481"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 2664,6228 L 2664,6372 L 3096,6372 L 3096,6228 Z"/>
|
||||
<text x="2880" y="6249" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2880" dy="72" unicode-bidi="embed">s[u] = 1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3168,6588 3492,6588 3492,6711"/>
|
||||
<polygon fill="#404040" stroke="none" points="3492,6732 3512,6697 3471,6697"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3492,8496 3492,8604 2952,8604 2952,6680"/>
|
||||
<polygon fill="#404040" stroke="none" points="2952,6660 2931,6694 2972,6694"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3672,6840 4356,6840 4356,6999"/>
|
||||
<polygon fill="#404040" stroke="none" points="4356,7020 4376,6985 4335,6985"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4356,8316 4356,8460 3548,8460"/>
|
||||
<polygon fill="#404040" stroke="none" points="3528,8460 3562,8480 3562,8439"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3312,6840 3132,6840 3132,8460 3435,8460"/>
|
||||
<polygon fill="#404040" stroke="none" points="3456,8460 3421,8439 3421,8480"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 3492,6732 L 3276,6840 L 3492,6948 L 3708,6840 Z"/>
|
||||
<text x="3492" y="6789" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3492" dy="72" unicode-bidi="embed">s[j]==0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="4932,7344 5112,7344 5112,7719"/>
|
||||
<polygon fill="#404040" stroke="none" points="5112,7740 5132,7705 5091,7705"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="5112,8136 5112,8280 4412,8280"/>
|
||||
<polygon fill="#404040" stroke="none" points="4392,8280 4426,8300 4426,8259"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3780,7344 3600,7344 3600,8280 4299,8280"/>
|
||||
<polygon fill="#404040" stroke="none" points="4320,8280 4285,8259 4285,8300"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 4356,7020 L 3744,7344 L 4356,7668 L 4968,7344 Z"/>
|
||||
<text x="4356" y="7257" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="4356" dy="72" unicode-bidi="embed">cont[u][j]<MAX&&dist[u]+cont</tspan>
|
||||
<tspan x="4356" dy="72" unicode-bidi="embed">[u][j]<dist[j]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="5112,7884 5112,7971"/>
|
||||
<polygon fill="#404040" stroke="none" points="5112,7992 5132,7957 5091,7957"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 4716,7740 L 4716,7884 L 5508,7884 L 5508,7740 Z"/>
|
||||
<text x="5112" y="7761" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="5112" dy="72" unicode-bidi="embed">dist[j] = dist[u]+cont[u][j]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 4896,7992 L 4896,8136 L 5328,8136 L 5328,7992 Z"/>
|
||||
<text x="5112" y="8013" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="5112" dy="72" unicode-bidi="embed">path[j] = u</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="4356" cy="8280" rx="36" ry="36" fill="#C04040" stroke="#602020" stroke-width="5"/>
|
||||
<text x="5040" y="7221" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="5040" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="3672" y="7221" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3672" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="3492" cy="8460" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="3780" y="6717" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3780" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="3204" y="6717" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3204" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 2664,6516 L 2592,6588 L 2664,6660 L 3096,6660 L 3168,6588 L 3096,6516 Z"/>
|
||||
<text x="2880" y="6537" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2880" dy="72" unicode-bidi="embed">j = 0 到 num</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="3312" y="6465" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3312" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="2772" y="6681" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2772" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2520" cy="8784" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="2808" y="5925" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2808" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2232" y="5925" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2232" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1980" cy="8964" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="2448" y="5025" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2448" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1512" y="5025" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1512" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 972,4716 L 900,4788 L 972,4860 L 1404,4860 L 1476,4788 L 1404,4716 Z"/>
|
||||
<text x="1188" y="4737" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1188" dy="72" unicode-bidi="embed">j = 0 到 num</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1620" y="4665" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1620" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1080" y="4881" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 432,3960 L 360,4032 L 432,4104 L 864,4104 L 936,4032 L 864,3960 Z"/>
|
||||
<text x="648" y="3981" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">i = 0 到 num</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1080" y="3909" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="540" y="4125" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="5" stroke-dasharray="none" d="M 252,9396 L 144,9612 L 1044,9612 L 1152,9396 Z"/>
|
||||
<text x="648" y="9417" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">输出 "智能推荐路线如下</tspan>
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">(逆序):\n"</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="936,9828 1728,9828 1728,9951"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,9972 1748,9937 1707,9937"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1728,12744 1728,12852 720,12852 720,9920"/>
|
||||
<polygon fill="#404040" stroke="none" points="720,9900 699,9934 740,9934"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2016,10152 2340,10152 2340,10383"/>
|
||||
<polygon fill="#404040" stroke="none" points="2340,10404 2360,10369 2319,10369"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2340,12564 2340,12708 1784,12708"/>
|
||||
<polygon fill="#404040" stroke="none" points="1764,12708 1798,12728 1798,12687"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1440,10152 1260,10152 1260,10383"/>
|
||||
<polygon fill="#404040" stroke="none" points="1260,10404 1280,10369 1239,10369"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="1260,10548 1260,12708 1671,12708"/>
|
||||
<polygon fill="#404040" stroke="none" points="1692,12708 1657,12687 1657,12728"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 1728,9972 L 1404,10152 L 1728,10332 L 2052,10152 Z"/>
|
||||
<text x="1728" y="10101" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="72" unicode-bidi="embed">i!=v1&&i==v2</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2340,12240 2340,12327"/>
|
||||
<polygon fill="#404040" stroke="none" points="2340,12348 2360,12313 2319,12313"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2520,10512 2700,10512 2700,10671"/>
|
||||
<polygon fill="#404040" stroke="none" points="2700,10692 2720,10657 2679,10657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2700,11376 2700,12204 2396,12204"/>
|
||||
<polygon fill="#404040" stroke="none" points="2376,12204 2410,12224 2410,12183"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2160,10512 1980,10512 1980,12204 2283,12204"/>
|
||||
<polygon fill="#404040" stroke="none" points="2304,12204 2269,12183 2269,12224"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="5" stroke-dasharray="none" d="M 2340,10404 L 2124,10512 L 2340,10620 L 2556,10512 Z"/>
|
||||
<text x="2340" y="10461" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2340" dy="72" unicode-bidi="embed">s[i]==1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2700,10836 2700,10923"/>
|
||||
<polygon fill="#404040" stroke="none" points="2700,10944 2720,10909 2679,10909"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2700,11088 2700,11211"/>
|
||||
<polygon fill="#404040" stroke="none" points="2700,11232 2720,11197 2679,11197"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 2448,10692 L 2448,10836 L 2952,10836 L 2952,10692 Z"/>
|
||||
<text x="2700" y="10713" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">num2 = dist[i]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 2484,10944 L 2484,11088 L 2916,11088 L 2916,10944 Z"/>
|
||||
<text x="2700" y="10965" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">pre = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="2916,11304 3420,11304 3420,11427"/>
|
||||
<polygon fill="#404040" stroke="none" points="3420,11448 3440,11413 3399,11413"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3420,11916 3420,12024 2772,12024 2772,11396"/>
|
||||
<polygon fill="#404040" stroke="none" points="2772,11376 2751,11410 2792,11410"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="9" stroke-dasharray="none" points="3420,11664 3420,11751"/>
|
||||
<polygon fill="#404040" stroke="none" points="3420,11772 3440,11737 3399,11737"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 3024,11448 L 2916,11664 L 3816,11664 L 3924,11448 Z"/>
|
||||
<text x="3420" y="11469" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3420" dy="72" unicode-bidi="embed">输出 "%s-->",nm.adjust</tspan>
|
||||
<tspan x="3420" dy="72" unicode-bidi="embed">[pre].name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="5" stroke-dasharray="none" d="M 3168,11772 L 3168,11916 L 3672,11916 L 3672,11772 Z"/>
|
||||
<text x="3420" y="11793" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3420" dy="72" unicode-bidi="embed">pre = path[pre]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 2556,11232 L 2484,11304 L 2556,11376 L 2844,11376 L 2916,11304 L 2844,11232 Z"/>
|
||||
<text x="2700" y="11253" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2700" dy="72" unicode-bidi="embed">pre!=v</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2988" y="11181" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2988" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2628" y="11397" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2628" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2340" cy="12204" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="2628" y="10389" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2628" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2052" y="10389" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2052" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="5" stroke-dasharray="none" d="M 1908,12348 L 1800,12564 L 2772,12564 L 2880,12348 Z"/>
|
||||
<text x="2340" y="12369" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2340" dy="72" unicode-bidi="embed">输出 "%s",nm.adjust[pre].</tspan>
|
||||
<tspan x="2340" dy="72" unicode-bidi="embed">name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="5" stroke-dasharray="none" d="M 972,10404 L 900,10548 L 1548,10548 L 1620,10404 Z"/>
|
||||
<text x="1260" y="10425" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1260" dy="72" unicode-bidi="embed">输出 路径不存在</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="12708" rx="36" ry="36" fill="#FFD0D0" stroke="#A07070" stroke-width="5"/>
|
||||
<text x="2124" y="10029" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2124" dy="72" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1332" y="10029" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1332" dy="72" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="5" stroke-dasharray="none" d="M 432,9756 L 360,9828 L 432,9900 L 864,9900 L 936,9828 L 864,9756 Z"/>
|
||||
<text x="648" y="9777" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="648" dy="72" unicode-bidi="embed">i = 0 到 num</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1080" y="9705" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1080" dy="72" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="540" y="9921" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="540" dy="72" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 35 KiB |
@ -1,714 +0,0 @@
|
||||
<?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="4368" height="26400">
|
||||
<rect x="0" y="0" width="4368" height="26400" 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,25872 864,25989"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,26016 890,25969 837,25969"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 672,192 A 96 96, 0, 0 0, 672 384 L 1056,384 A 96 96, 0, 0 0, 1056 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">开始</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 672,26016 A 96 96, 0, 0 0, 672 26208 L 1056,26208 A 96 96, 0, 0 0, 1056 26016 Z"/>
|
||||
<text x="864" y="26044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">结束</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,720 864,837"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,864 890,817 837,817"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1056 864,1173"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1200 890,1153 837,1153"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1392 864,1509"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1536 890,1489 837,1489"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,1824 864,1941"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,1968 890,1921 837,1921"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,2160 864,2325"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,2352 890,2305 837,2305"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,2544 864,6117"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,6144 890,6097 837,6097"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,6336 864,14949"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,14976 890,14929 837,14929"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,15168 864,24837"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,24864 890,24817 837,24817"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="864,25056 864,25653"/>
|
||||
<polygon fill="#404040" stroke="none" points="864,25680 890,25633 837,25633"/>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 576,528 L 576,720 L 1152,720 L 1152,528 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="624,528 624,720"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1104,528 1104,720"/>
|
||||
<text x="864" y="556" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">creatnode</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 576,864 L 576,1056 L 1152,1056 L 1152,864 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="624,864 624,1056"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1104,864 1104,1056"/>
|
||||
<text x="864" y="892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">createlist</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 576,1200 L 576,1392 L 1152,1392 L 1152,1200 Z"/>
|
||||
<text x="864" y="1228" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">n = 10</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 336,1536 L 192,1824 L 1392,1824 L 1536,1536 Z"/>
|
||||
<text x="864" y="1564" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 正在初始化数据,</tspan>
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">请稍候!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 384,1968 L 288,2160 L 1344,2160 L 1440,1968 Z"/>
|
||||
<text x="864" y="1996" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 欢迎使用本系统!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,2448 2064,2448 2064,2613"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,2640 2090,2593 2037,2593"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,5760 2064,5904 960,5904 960,2570"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,2544 933,2590 986,2590"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,2928 2064,3045"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3072 2090,3025 2037,3025"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3264 2064,3381"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3408 2090,3361 2037,3361"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3600 2064,3717"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,3744 2090,3697 2037,3697"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,3936 2064,4053"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4080 2090,4033 2037,4033"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4272 2064,4389"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4416 2090,4369 2037,4369"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4608 2064,4725"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,4752 2090,4705 2037,4705"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,4992 2064,5109"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,5136 2090,5089 2037,5089"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,5376 2064,5493"/>
|
||||
<polygon fill="#404040" stroke="none" points="2064,5520 2090,5473 2037,5473"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1296,2640 L 1152,2928 L 2832,2928 L 2976,2640 Z"/>
|
||||
<text x="2064" y="2668" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出</tspan>
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed"> 欢迎来到上海市地铁交通服务平台!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1536,3072 L 1440,3264 L 2592,3264 L 2688,3072 Z"/>
|
||||
<text x="2064" y="3100" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 1.最佳出行线路推荐</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1584,3408 L 1488,3600 L 2544,3600 L 2640,3408 Z"/>
|
||||
<text x="2064" y="3436" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 2.出行费用预估</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1632,3744 L 1536,3936 L 2496,3936 L 2592,3744 Z"/>
|
||||
<text x="2064" y="3772" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 0.退出系统!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1728,4080 L 1632,4272 L 2400,4272 L 2496,4080 Z"/>
|
||||
<text x="2064" y="4108" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输出 请输入!</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1872,4416 L 1776,4608 L 2256,4608 L 2352,4416 Z"/>
|
||||
<text x="2064" y="4444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2064" dy="96" unicode-bidi="embed">输入 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1584,4752 L 1584,4992 L 2544,4992 L 2544,4752 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1584,4800 2544,4800"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1632,4752 1632,4992"/>
|
||||
<text x="2088" y="4828" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">字符串 Array str[100]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1776,5136 L 1776,5376 L 2352,5376 L 2352,5136 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1776,5184 2352,5184"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1824,5136 1824,5376"/>
|
||||
<text x="2088" y="5212" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">整数值 n9</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1776,5520 L 1776,5760 L 2352,5760 L 2352,5520 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1776,5568 2352,5568"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1824,5520 1824,5760"/>
|
||||
<text x="2088" y="5596" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2088" dy="96" unicode-bidi="embed">整数值 n10</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,2352 L 576,2448 L 672,2544 L 1056,2544 L 1152,2448 L 1056,2352 Z"/>
|
||||
<text x="864" y="2380" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="2284" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="2572" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,6240 1728,6240 1728,6405"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,6432 1754,6385 1701,6385"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,14592 1728,14736 960,14736 960,6362"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,6336 933,6382 986,6382"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,6624 1728,6741"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,6768 1754,6721 1701,6721"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,6960 1728,7077"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,7104 1754,7057 1701,7057"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,7296 1728,7461"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,7488 1754,7441 1701,7441"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,7680 1728,10341"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,10368 1754,10321 1701,10321"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,10560 1728,10677"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,10704 1754,10657 1701,10657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,10896 1728,11013"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,11040 1754,10993 1701,10993"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,11232 1728,11397"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,11424 1754,11377 1701,11377"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,11616 1728,13317"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,13344 1754,13297 1701,13297"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,14256 1728,14373"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,14400 1754,14353 1701,14353"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,6432 L 1248,6624 L 2112,6624 L 2208,6432 Z"/>
|
||||
<text x="1728" y="6460" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入起点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,6768 L 1392,6960 L 1968,6960 L 2064,6768 Z"/>
|
||||
<text x="1728" y="6796" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,7104 L 1440,7296 L 2016,7296 L 2016,7104 Z"/>
|
||||
<text x="1728" y="7132" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,7584 2976,7584 2976,7749"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,7776 3002,7729 2949,7729"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,10032 2976,10176 1824,10176 1824,7706"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,7680 1797,7726 1850,7726"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,9072 2976,9189"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,9216 3002,9169 2949,9169"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,8160 3888,8160 3888,8613"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,8640 3914,8593 3861,8593"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,8832 3888,9024 3050,9024"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,9024 3070,9050 3070,8997"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,8160 2064,8160 2064,9024 2901,9024"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,9024 2881,8997 2881,9050"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,7776 L 2256,8160 L 2976,8544 L 3696,8160 Z"/>
|
||||
<text x="2976" y="8044" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,8640 L 3600,8832 L 4176,8832 L 4176,8640 Z"/>
|
||||
<text x="3888" y="8668" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n9 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="9024" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="7996" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="7996" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3216,9360 3600,9360 3600,9573"/>
|
||||
<polygon fill="#404040" stroke="none" points="3600,9600 3626,9553 3573,9553"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3600,9792 3600,9984 3050,9984"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,9984 3070,10010 3070,9957"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2736,9360 2496,9360 2496,9984 2901,9984"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,9984 2881,9957 2881,10010"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 2976,9216 L 2688,9360 L 2976,9504 L 3264,9360 Z"/>
|
||||
<text x="2976" y="9292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">n9==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 3168,9600 L 3072,9792 L 4032,9792 L 4128,9600 Z"/>
|
||||
<text x="3600" y="9628" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3600" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="9984" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="3360" y="9196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3360" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2592" y="9196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2592" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,7488 L 1392,7584 L 1488,7680 L 1968,7680 L 2064,7584 L 1968,7488 Z"/>
|
||||
<text x="1728" y="7516" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="7420" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="7708" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,10368 L 1440,10560 L 2016,10560 L 2016,10368 Z"/>
|
||||
<text x="1728" y="10396" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,10704 L 1248,10896 L 2112,10896 L 2208,10704 Z"/>
|
||||
<text x="1728" y="10732" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入终点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,11040 L 1392,11232 L 1968,11232 L 2064,11040 Z"/>
|
||||
<text x="1728" y="11068" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,11520 2976,11520 2976,11685"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,11712 3002,11665 2949,11665"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,13008 2976,13152 1824,13152 1824,11642"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,11616 1797,11662 1850,11662"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,12096 3888,12096 3888,12549"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,12576 3914,12529 3861,12529"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,12768 3888,12960 3050,12960"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,12960 3070,12986 3070,12933"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,12096 2064,12096 2064,12960 2901,12960"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,12960 2881,12933 2881,12986"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,11712 L 2256,12096 L 2976,12480 L 3696,12096 Z"/>
|
||||
<text x="2976" y="11980" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,12576 L 3600,12768 L 4176,12768 L 4176,12576 Z"/>
|
||||
<text x="3888" y="12604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n10 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="12960" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="11932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="11932" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,11424 L 1392,11520 L 1488,11616 L 1968,11616 L 2064,11520 L 1968,11424 Z"/>
|
||||
<text x="1728" y="11452" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="11356" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="11644" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,13536 2352,13536 2352,13797"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,13824 2378,13777 2325,13777"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,14016 2352,14208 1802,14208"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,14208 1822,14234 1822,14181"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1440,13536 1200,13536 1200,14208 1653,14208"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,14208 1633,14181 1633,14234"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,13344 L 1392,13536 L 1728,13728 L 2064,13536 Z"/>
|
||||
<text x="1728" y="13468" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,13824 L 1824,14016 L 2784,14016 L 2880,13824 Z"/>
|
||||
<text x="2352" y="13852" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="14208" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2160" y="13372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1296" y="13372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1296" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 1440,14400 L 1440,14592 L 2016,14592 L 2016,14400 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1488,14400 1488,14592"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="1968,14400 1968,14592"/>
|
||||
<text x="1728" y="14428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">Dijstra</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,6144 L 576,6240 L 672,6336 L 1056,6336 L 1152,6240 L 1056,6144 Z"/>
|
||||
<text x="864" y="6172" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="6076" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="6364" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,15072 1728,15072 1728,15237"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15264 1754,15217 1701,15217"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,24480 1728,24624 960,24624 960,15194"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,15168 933,15214 986,15214"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,15456 1728,15573"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15600 1754,15553 1701,15553"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,15840 1728,15957"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,15984 1754,15937 1701,15937"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16176 1728,16293"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,16320 1754,16273 1701,16273"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16512 1728,16677"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,16704 1754,16657 1701,16657"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,16896 1728,18933"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,18960 1754,18913 1701,18913"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,19776 1728,19893"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,19920 1754,19873 1701,19873"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20112 1728,20229"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20256 1754,20209 1701,20209"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20448 1728,20565"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20592 1754,20545 1701,20545"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,20784 1728,20949"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,20976 1754,20929 1701,20929"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,21168 1728,22869"/>
|
||||
<polygon fill="#404040" stroke="none" points="1728,22896 1754,22849 1701,22849"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,15264 L 1248,15456 L 2112,15456 L 2208,15264 Z"/>
|
||||
<text x="1728" y="15292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入起点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1248,15600 L 1248,15840 L 2208,15840 L 2208,15600 Z"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1248,15648 2208,15648"/>
|
||||
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="1296,15600 1296,15840"/>
|
||||
<text x="1752" y="15676" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1752" dy="96" unicode-bidi="embed">整数值 Array str[100]</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,15984 L 1392,16176 L 1968,16176 L 2064,15984 Z"/>
|
||||
<text x="1728" y="16012" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,16320 L 1440,16512 L 2016,16512 L 2016,16320 Z"/>
|
||||
<text x="1728" y="16348" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,16800 2976,16800 2976,16965"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,16992 3002,16945 2949,16945"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,18624 2976,18768 1824,18768 1824,16922"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,16896 1797,16942 1850,16942"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,17184 2976,17301"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,17328 3002,17281 2949,17281"/>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 2688,16992 L 2688,17184 L 3264,17184 L 3264,16992 Z"/>
|
||||
<text x="2976" y="17020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">n9 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,17712 3888,17712 3888,18165"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,18192 3914,18145 3861,18145"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,18384 3888,18576 3050,18576"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,18576 3070,18602 3070,18549"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,17712 2064,17712 2064,18576 2901,18576"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,18576 2881,18549 2881,18602"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,17328 L 2256,17712 L 2976,18096 L 3696,17712 Z"/>
|
||||
<text x="2976" y="17596" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,18192 L 3600,18384 L 4176,18384 L 4176,18192 Z"/>
|
||||
<text x="3888" y="18220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n9 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="18576" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="17548" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="17548" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#E0E0E0" stroke="#505050" stroke-width="6" stroke-dasharray="none" d="M 1488,16704 L 1392,16800 L 1488,16896 L 1968,16896 L 2064,16800 L 1968,16704 Z"/>
|
||||
<text x="1728" y="16732" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">For循环</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="16636" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="16924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1968,19104 2352,19104 2352,19317"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,19344 2378,19297 2325,19297"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,19536 2352,19728 1802,19728"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,19728 1822,19754 1822,19701"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1488,19104 1248,19104 1248,19728 1653,19728"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,19728 1633,19701 1633,19754"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,18960 L 1440,19104 L 1728,19248 L 2016,19104 Z"/>
|
||||
<text x="1728" y="19036" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n9==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,19344 L 1824,19536 L 2784,19536 L 2880,19344 Z"/>
|
||||
<text x="2352" y="19372" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="19728" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2112" y="18940" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2112" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1344" y="18940" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1344" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 1440,19920 L 1440,20112 L 2016,20112 L 2016,19920 Z"/>
|
||||
<text x="1728" y="19948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10 = -1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1344,20256 L 1248,20448 L 2112,20448 L 2208,20256 Z"/>
|
||||
<text x="1728" y="20284" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输出 请输入终点</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 1488,20592 L 1392,20784 L 1968,20784 L 2064,20592 Z"/>
|
||||
<text x="1728" y="20620" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">输入 str</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2064,21072 2976,21072 2976,21237"/>
|
||||
<polygon fill="#404040" stroke="none" points="2976,21264 3002,21217 2949,21217"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2976,22560 2976,22704 1824,22704 1824,21194"/>
|
||||
<polygon fill="#404040" stroke="none" points="1824,21168 1797,21214 1850,21214"/>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3648,21648 3888,21648 3888,22101"/>
|
||||
<polygon fill="#404040" stroke="none" points="3888,22128 3914,22081 3861,22081"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3888,22320 3888,22512 3050,22512"/>
|
||||
<polygon fill="#404040" stroke="none" points="3024,22512 3070,22538 3070,22485"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2304,21648 2064,21648 2064,22512 2901,22512"/>
|
||||
<polygon fill="#404040" stroke="none" points="2928,22512 2881,22485 2881,22538"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2976,21264 L 2256,21648 L 2976,22032 L 3696,21648 Z"/>
|
||||
<text x="2976" y="21532" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">!strcmp(str,nm.adjust[i].</tspan>
|
||||
<tspan x="2976" dy="96" unicode-bidi="embed">name)</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 3600,22128 L 3600,22320 L 4176,22320 L 4176,22128 Z"/>
|
||||
<text x="3888" y="22156" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3888" dy="96" unicode-bidi="embed">n10 = i</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="2976" cy="22512" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
|
||||
<text x="3792" y="21484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="3792" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="2160" y="21484" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 1488,20976 L 1392,21072 L 1488,21168 L 1968,21168 L 2064,21072 L 1968,20976 Z"/>
|
||||
<text x="1728" y="21004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">i = 0 到 n</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="2256" y="20908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2256" dy="96" unicode-bidi="embed">下一个</tspan>
|
||||
</text>
|
||||
<text x="1584" y="21196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">完成</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2016,23088 2352,23088 2352,23349"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,23376 2378,23329 2325,23329"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,24240 2352,24432 1802,24432"/>
|
||||
<polygon fill="#404040" stroke="none" points="1776,24432 1822,24458 1822,24405"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1440,23088 1200,23088 1200,24432 1653,24432"/>
|
||||
<polygon fill="#404040" stroke="none" points="1680,24432 1633,24405 1633,24458"/>
|
||||
<g>
|
||||
<path fill="#FFD0D0" stroke="#A07070" stroke-width="6" stroke-dasharray="none" d="M 1728,22896 L 1392,23088 L 1728,23280 L 2064,23088 Z"/>
|
||||
<text x="1728" y="23020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1728" dy="96" unicode-bidi="embed">n10==-1</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,23568 2352,23685"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,23712 2378,23665 2325,23665"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2352,23904 2352,24021"/>
|
||||
<polygon fill="#404040" stroke="none" points="2352,24048 2378,24001 2325,24001"/>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,23376 L 1824,23568 L 2784,23568 L 2880,23376 Z"/>
|
||||
<text x="2352" y="23404" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 站点输入错误</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 2064,23712 L 2064,23904 L 2640,23904 L 2640,23712 Z"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="2112,23712 2112,23904"/>
|
||||
<polyline fill="none" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" points="2592,23712 2592,23904"/>
|
||||
<text x="2352" y="23740" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">Dijkstra</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 1920,24048 L 1824,24240 L 2784,24240 L 2880,24048 Z"/>
|
||||
<text x="2352" y="24076" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2352" dy="96" unicode-bidi="embed">输出 预估消费%d元</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<ellipse cx="1728" cy="24432" rx="48" ry="48" fill="#FFD0D0" stroke="#A07070" stroke-width="6"/>
|
||||
<text x="2160" y="22924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="2160" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="1296" y="22924" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1296" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,14976 L 576,15072 L 672,15168 L 1056,15168 L 1152,15072 L 1056,14976 Z"/>
|
||||
<text x="864" y="15004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case2</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="14908" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="15196" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1152,24960 1584,24960 1584,25125"/>
|
||||
<polygon fill="#404040" stroke="none" points="1584,25152 1610,25105 1557,25105"/>
|
||||
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1584,25344 1584,25488 960,25488 960,25082"/>
|
||||
<polygon fill="#404040" stroke="none" points="960,25056 933,25102 986,25102"/>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1248,25152 L 1152,25344 L 1920,25344 L 2016,25152 Z"/>
|
||||
<text x="1584" y="25180" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1584" dy="96" unicode-bidi="embed">输出 return 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 672,24864 L 576,24960 L 672,25056 L 1056,25056 L 1152,24960 L 1056,24864 Z"/>
|
||||
<text x="864" y="24892" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">case0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<text x="1248" y="24796" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="1248" dy="96" unicode-bidi="embed">真</tspan>
|
||||
</text>
|
||||
<text x="768" y="25084" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="768" dy="96" unicode-bidi="embed">假</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 528,25680 L 432,25872 L 1200,25872 L 1296,25680 Z"/>
|
||||
<text x="864" y="25708" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
|
||||
<tspan x="864" dy="96" unicode-bidi="embed">输出 return 0</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 50 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue