Compare commits

..

No commits in common. 'master' and 'C10ZYF' have entirely different histories.

@ -1,5 +0,0 @@
{
"files.associations": {
"src": "c"
}
}

@ -1,357 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="671px" height="831px" viewBox="-0.5 -0.5 671 831" content="&lt;mxfile&gt;&lt;diagram id=&quot;jfX5dryNlvRt6rC0qbfR&quot; name=&quot;第 1 页&quot;&gt;3VtRd6o4EP41vvYAIaiP1rb3Ptzd07M+3N3HFKLmbCCeEKvsr99QgpiEqqURaX2RjCEJ33wzmRniCMzT/Q+ONus/WILpKPCS/Qg8jILA98aB/ColRSWB0aQSrDhJVKdGsCD/4fpOJd2SBOdaR8EYFWSjC2OWZTgWmgxxznZ6tyWj+qwbtMKWYBEjakt/k0SsK+kEeo38JyardT2z76lfUlR3VoJ8jRK2OxKBxxGYc8ZEdZXu55iW4NW4VPc9vfPrYWEcZ+KSG5QiclHUz4YT+aiqmbFMft2vRUply5eXeE/E30fX/8hr7w6q1kOpYa9uFKphr0ktM2dbHqtpw0pUzn7URy36B2YpFryQHTimSJBXXRFI6XN16He49ZkROWvgKe6FkQJeMS8Ye/oQAvEVFuquBjh5cbSMRvQGZzu04IPQDgkmP+wNJvVEr4hu1WpTRDILO862WYITRandmgi82KA3WHbSyehQLgmlc0YZf7sXzOee/JyC+BVzgfcnEVW/BhMDmRqpXeMI/Nq610dOIPLeV4IG3wmsoIWVhZN0KJvyMt5yWtxzFP+LxXnAGnTLFkUvmD6znAjCMimjeFmOUYJEpBP8ZfyckiQpp79HlKxKAa+e+nDDTMkPHfPKoztSiWnTLRoBLQoZm5zuopHI0shfGCWLmHH8OQo7wAVCHRfYwlQf2sBAB7iMzzMVZ8ms3ItLslKU5yS+EIG+9wh/YgBSOWTL+VkDwfDMQO686MTCeyaJstimbPkoL4qF2CZYzXJTTpqQtJESXsl9Tr8RKYFppV1JaQ3kjpR1uP4tALcY2BVwayCHgPsW4LobmMs15wPYmUKoQ9IWRIVX8gI+sEBaMC5eioHs2gY2IOgxwPTtaPzrWmwYOrJYayCHFmuH9LM8lhCTbDUAKho4+H1S0Q6tvy4VIXBERWsgh1S0Y/YHPCAu6m4Ren1y0Q6vvy4Xo8ARF62BHHLRDtUXO7R5ogwNIYfRqRj1ScV63G9BxbErt2gN5I6KgR1Tl1T8xQbhFA0YemVi8I2YOPEdMdEayCETWxIXycT5GvHhMXHaJxMvyFpc1MWXlGx+jtpr5GbN+2yR3CiqWzVyB0o5bBZ1mt2ik7bCuJnudNLJBe8qBusdDu8LPhsy+ediL4fe4SvnSyZT/WlXwOGZgd4BXMKCiqNum7JDfmLBXvs8763LZJTRX15UK+isfTt5m+VVWevPbXr77cHYJPvcHOzcTeGC0ttX+0xaRH0i05JkYcTj9TA4Y25ebW+KrgVNrZav6UwNUnWug5q7Vwimd/Ba+xew86xREKG0JFb2kpdfB3YOwXJvWRsFdur1zKUKhvEGwyxZ9pkKgJYcSUhjymWQPcsQLXKS3xwgwz57LWUCB2946kOA3l0UaucAfX9y8iRg2XjGnMhVYz76wOnAOsOr3I0e8px1p0ewtp0sqGWf9LrADGG7el0w1ge6MILt4nId5GgNF6RTOubC2A8+zAVJAV4cjpeWDTUWrNvNWG+tDx0xbSNR7S8GSqLIFYngFVlkJ56/uXShgj0RevvdyEAUgD6drYNjcI2BwUgzsBD26GxrJQ/UTjqHuKadgCvaiZ2IlmdFl5ylgzAUs+bVa9jm4GheYyjhRDOU6em/J3zaTgZqE1YZt2sNbVy/eLjC4X8HRctG71401hTvhWH3EMTTQxAnEQi0Heuw/Co0g1jzjPzFr8UMv+o7K3zLZvP3qKp78ycz8Pg/&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 380 250 L 433.63 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 438.88 250 L 431.88 253.5 L 433.63 250 L 431.88 246.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 260 250 L 126.37 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 121.12 250 L 128.12 246.5 L 126.37 250 L 128.12 253.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="260" y="220" width="120" height="60" fill="#cc0000" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 250px; margin-left: 261px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="320" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 470 20 L 450 20 Q 440 20 440 30 L 440 395 Q 440 405 440 415 L 440 780 Q 440 790 450 790 L 470 790" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="530" y="30" width="115" height="50" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 113px; height: 1px; padding-top: 55px; margin-left: 531px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
ReadScore
</div>
</div>
</div>
</foreignObject>
<text x="588" y="59" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
ReadScore
</text>
</switch>
</g>
<path d="M 440 160 L 513.63 160" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 160 L 511.88 163.5 L 513.63 160 L 511.88 156.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="520" y="130" width="150" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 160px; margin-left: 521px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AverSumofEveryStudent
</div>
</div>
</div>
</foreignObject>
<text x="595" y="164" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AverSumofEveryStudent
</text>
</switch>
</g>
<path d="M 440 330 L 513.63 330" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 330 L 511.88 333.5 L 513.63 330 L 511.88 326.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 440 240 L 513.63 240" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 240 L 511.88 243.5 L 513.63 240 L 511.88 236.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="525" y="220" width="140" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 250px; margin-left: 526px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AverSumofEveryCourse
</div>
</div>
</div>
</foreignObject>
<text x="595" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AverSumofEveryCourse
</text>
</switch>
</g>
<rect x="525" y="300" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 330px; margin-left: 526px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SortbyScore
</div>
</div>
</div>
</foreignObject>
<text x="585" y="334" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SortbyScore
</text>
</switch>
</g>
<path d="M 440 420 L 513.63 420" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 420 L 511.88 423.5 L 513.63 420 L 511.88 416.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="520" y="390" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 420px; margin-left: 521px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Ascending
</div>
</div>
</div>
</foreignObject>
<text x="580" y="424" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Ascending
</text>
</switch>
</g>
<path d="M 440 510 L 513.63 510" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 510 L 511.88 513.5 L 513.63 510 L 511.88 506.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="525" y="480" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 510px; margin-left: 526px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Descending
</div>
</div>
</div>
</foreignObject>
<text x="585" y="514" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Descending
</text>
</switch>
</g>
<path d="M 440 600 L 513.63 600" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 600 L 511.88 603.5 L 513.63 600 L 511.88 596.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="525" y="580" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 610px; margin-left: 526px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat
</div>
</div>
</div>
</foreignObject>
<text x="585" y="614" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat
</text>
</switch>
</g>
<path d="M 440 710 L 513.63 710" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 710 L 511.88 713.5 L 513.63 710 L 511.88 706.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="520" y="680" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 710px; margin-left: 521px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapLong
</div>
</div>
</div>
</foreignObject>
<text x="580" y="714" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapLong
</text>
</switch>
</g>
<path d="M 440 790 L 513.63 790" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 518.88 790 L 511.88 793.5 L 513.63 790 L 511.88 786.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="520" y="770" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 800px; margin-left: 521px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapChar
</div>
</div>
</div>
</foreignObject>
<text x="580" y="804" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapChar
</text>
</switch>
</g>
<path d="M 210 0 L 207.5 0 Q 205 0 205 10 L 205 360 Q 205 370 202.5 370 L 201.25 370 Q 200 370 202.5 370 L 203.75 370 Q 205 370 205 380 L 205 730 Q 205 740 207.5 740 L 210 740" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" transform="translate(205,0)scale(-1,1)translate(-205,0)" pointer-events="all"/>
<path d="M 210 600 L 146.37 600" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 141.12 600 L 148.12 596.5 L 146.37 600 L 148.12 603.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 200 170 L 190 170 Q 180 170 190 170 L 200 170 Q 210 170 200 170 L 136.37 170" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 131.12 170 L 138.12 166.5 L 136.37 170 L 138.12 173.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="30" y="60" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 90px; margin-left: 31px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AsSortbyNum
</div>
</div>
</div>
</foreignObject>
<text x="90" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AsSortbyNum
</text>
</switch>
</g>
<rect x="10" y="140" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 170px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SortbyName
</div>
</div>
</div>
</foreignObject>
<text x="70" y="174" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SortbyName
</text>
</switch>
</g>
<rect x="0" y="230" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 260px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SearchbyNum
</div>
</div>
</div>
</foreignObject>
<text x="60" y="264" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SearchbyNum
</text>
</switch>
</g>
<path d="M 210 420 L 146.37 419.55" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 141.12 419.51 L 148.14 416.06 L 146.37 419.55 L 148.09 423.06 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="20" y="390" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 420px; margin-left: 21px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SearchbyName
</div>
</div>
</div>
</foreignObject>
<text x="80" y="424" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SearchbyName
</text>
</switch>
</g>
<rect x="20" y="570" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 600px; margin-left: 21px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
PrintScore
</div>
</div>
</div>
</foreignObject>
<text x="80" y="604" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
PrintScore
</text>
</switch>
</g>
<rect x="10" y="480" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 510px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
StatisticAnalysis
</div>
</div>
</div>
</foreignObject>
<text x="70" y="514" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
StatisticAnalysis
</text>
</switch>
</g>
<path d="M 203.6 87.32 L 156.37 88.43" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 151.12 88.56 L 158.03 84.89 L 156.37 88.43 L 158.2 91.89 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 206.8 526.88 L 136.37 525.16" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 131.12 525.03 L 138.2 521.7 L 136.37 525.16 L 138.03 528.7 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="310" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 340px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
WritetoFile
</div>
</div>
</div>
</foreignObject>
<text x="60" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
WritetoFile
</text>
</switch>
</g>
<path d="M 204.4 338.92 L 126.37 339.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 121.12 339.54 L 128.09 335.99 L 126.37 339.5 L 128.14 342.99 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="10" y="670" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 700px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
ReadfromFile
</div>
</div>
</div>
</foreignObject>
<text x="70" y="704" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
ReadfromFile
</text>
</switch>
</g>
<path d="M 205.2 703 L 136.37 703" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 131.12 703 L 138.12 699.5 L 136.37 703 L 138.12 706.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 442.01 53.88 L 523.63 54.92" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 528.88 54.99 L 521.84 58.4 L 523.63 54.92 L 521.93 51.4 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 32 KiB

@ -1,108 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="181px" height="671px" viewBox="-0.5 -0.5 181 671" content="&lt;mxfile&gt;&lt;diagram id=&quot;jo-ijJKzn8aEHSbM58f8&quot; name=&quot;第 1 页&quot;&gt;1VfLkpswEPyauWPzEkfw4uSSSio+5KzALKgiECXLr3x9hBGvyF5v1Tp25WJGPSOhnm4EBndVHT9J2pRfRI4clk5+BPcFlsuFEy71pUVOHeIHpAMKyXJTNAIb9hv7mQbdsRy3s0IlBFesmYOZqGvM1AyjUorDvOxV8PldG1qgBWwyym30B8tV2aHEd0b8M7Ki7O+8cEymon2xAbYlzcVhArkpuCsphOqi6rhC3jav70s3b30lO2xMYq3eM8EIsad8Z7iZfalTTxZzzd0Ma1HrS1KqiuvRQoddeVtzdQcG2oqdzEyVa0SjskBT5Q/stW1QVKjkSZdI5FSx/Xx1avQrhrqRog4My8uMXYtxRVlts+Zcu6kleyiZwk1Dz3s/aENfasAepcLj2y2wyQ0PhHGDeRwCMzyM3lr0hiknviLOx9vhPccAvm2A8EEG8C3G35Hmm0xItKg/XvvhjLslfnAH8YPniB/a4kcPEj+0GacEkhQiF1IfiA+x3wbxC8QBpCFEHkTrcxAD8SYpXbyGJIRU/66ArM6p0KwTOUBeJqkACGlBvU6SQBxZbdbvgaYNGyky3G5vHzs/afarkGJX5193irNWmH9lSdd7oCXJcywZ2ZZcOJe7dHdPRu/wZA2pBwmBOL6bO69akErKOXJRSFrphjYomeaE8u/ctzFxy62v7Ij9d9ydXBrOTeqFF0xKLph0cPdHJOsP6Tc1qyCNIAohJm0uXrfp9DwkyUSz//psCC61/U5ngx6OH8Ln3OTvhJv+AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 90 80 L 90 143.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 148.88 L 86.5 141.88 L 90 143.63 L 93.5 141.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="90" cy="40" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 31px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="90" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 90 210 L 90 273.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 278.88 L 86.5 271.88 L 90 273.63 L 93.5 271.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="30" y="150" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 180px; margin-left: 31px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
ReadScore
</div>
</div>
</div>
</foreignObject>
<text x="90" y="184" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
ReadScore
</text>
</switch>
</g>
<path d="M 90 340 L 90 403.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 408.88 L 86.5 401.88 L 90 403.63 L 93.5 401.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="30" y="280" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 42 280 L 42 340 M 138 280 L 138 340" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 310px; margin-left: 43px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入学生的学号,姓名,成绩
</div>
</div>
</div>
</foreignObject>
<text x="90" y="314" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入学生的学号,姓名,成绩
</text>
</switch>
</g>
<path d="M 90 510 L 90 603.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 608.88 L 86.5 601.88 L 90 603.63 L 93.5 601.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 0 510 L 20 410 L 180 410 L 160 510 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 178px; height: 1px; padding-top: 460px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入n个学生的学号姓名
</div>
</div>
</div>
</foreignObject>
<text x="90" y="464" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入n个学生的学号姓名
</text>
</switch>
</g>
<rect x="30" y="610" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 42 610 L 42 670 M 138 610 L 138 670" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 640px; margin-left: 43px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入m门课程的成绩
</div>
</div>
</div>
</foreignObject>
<text x="90" y="644" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入m门课程的成绩
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 9.4 KiB

@ -1,147 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="498px" height="721px" viewBox="-0.5 -0.5 498 721" content="&lt;mxfile&gt;&lt;diagram id=&quot;B6Nd2Qj-oxOwm7tJk0uP&quot; name=&quot;第 1 页&quot;&gt;xVhLj9owEP41PhY5cZw4xwSy7aVqpT20PbrEC1FDjExYoL++Y+I8HQraDQtCwh6PH/PNN2MPiMw3x8+Kb9dfZSpy5OL0iMgCua6DAxd+tORUSajPKsFKZalRagXP2V9RzzTSfZaKXU+xlDIvs21fuJRFIZZlT8aVkoe+2ovM+7tu+UpYguclz23pjywt15WUUdzKv4hsta53drAZ2fBa2Qh2a57KQ0dEEkTmSsqyam2Oc5Fr8GpcqnlPF0abgylRlLdMILSa8crzvTHOHKw81daKFIw33UIW8BOvy00OPQealbrWuXgEI9rJvVoaLeIbt3G1EkaNsAYAYI6QG1GqE+gokfMye+2vz40LV41eayU0jKEXjPYtozc8K2zD8xwYpe09rLNSPG/5+fgHIPUYBq9CleL4fxRs6+oJNSPqkDDdQ8uvRmXd4RbDE+ARPIgE73W4mfpdZrBLCyXrQ0nIAKOKdGbWAKbmGLchxyzkIqDB834jXxJonOZgLjBoiOYH8AnTHghOOEIoOkIofwpChR9FqLuTx3MHeFQEtshzdSHq3I2FHrbhThiKExQSlFDEKIqobkQLFPkoCVDoofAJJT5iDAExQBLHKAotJ8H1tNVNwJ3nucjlSvENuGcrVAYHFGo49r0duJY0X7KjqO/2iUgf9jnfBH6X88EI58MJOO85j0minmvfpB79oJu03rzHPIpijJg/RjhoRIh5I8zTQzGK2ZmvEYqwBV7DRSWXYre7TrDffPlnpeS+SL/tyzwrJiSa41wI7i7TvHsxjbyXaWClOv2Ezic8w05QS36BBM/8urvQxuKmd+r2OnF+Fr6Ru3SEu/d5FJD6qjYeC7y7pWNK3uoO3PcEveKJCUHH9wF98BALbsM8UoqfOmpbrbC7eZvatZduZutUdODwav8338YjJZXOd1hnOp3dmE6OsN1IfvRQHOkv6IfnNPqAh6MzCJSx1DZWiUzxcPTsysyOpSKNdA0PvWXOd7tseSmaZoHvdSPKgWRH7pndbFA7oI09tmvZO+OsWae+jqg3o/1Fbn22EkZmLu58qLUyC9vRwVEnfNOO1KS9N21wjhOGoicthBCKIK7isUh7YFVPwoFj3BuDaYqy3rOL09sghMwTovisEy60mlYGUOcPxdLDfSz9sYp2Iiyh2/4HV7G3/SeTJP8A&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 157 80 L 157 133.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 157 138.88 L 153.5 131.88 L 157 133.63 L 160.5 131.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="157" cy="40" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 98px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="157" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 157 200 L 157 273.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 157 278.88 L 153.5 271.88 L 157 273.63 L 160.5 271.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="82" y="140" width="150" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 170px; margin-left: 83px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AverSumofEveryCourse
</div>
</div>
</div>
</foreignObject>
<text x="157" y="174" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AverSumofEveryCourse
</text>
</switch>
</g>
<path d="M 157 370 L 157 453.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 157 458.88 L 153.5 451.88 L 157 453.63 L 160.5 451.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 72 370 L 92 280 L 242 280 L 222 370 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 325px; margin-left: 73px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入学生成绩
</div>
</div>
</div>
</foreignObject>
<text x="157" y="329" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入学生成绩
</text>
</switch>
</g>
<path d="M 156.51 550 L 155.39 653.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 155.34 658.88 L 151.91 651.84 L 155.39 653.63 L 158.91 651.92 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="87" y="460" width="140" height="90" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 101 460 L 101 550 M 213 460 L 213 550" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 110px; height: 1px; padding-top: 505px; margin-left: 102px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
将学生的成绩相加
</div>
</div>
</div>
</foreignObject>
<text x="157" y="509" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
将学生的成绩相加
</text>
</switch>
</g>
<path d="M 215 689.45 L 368.59 688.06" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 373.84 688.01 L 366.87 691.57 L 368.59 688.06 L 366.81 684.57 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 95 690 L 17 690 Q 7 690 7 680 L 7 335 Q 7 325 17 325 L 75.63 325" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80.88 325 L 73.88 328.5 L 75.63 325 L 73.88 321.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="95" y="660" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 690px; margin-left: 96px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
总分/学生人数
</div>
</div>
</div>
</foreignObject>
<text x="155" y="694" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
总分/学生人数
</text>
</switch>
</g>
<path d="M 227 504.5 L 353.83 504.87" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 359.08 504.89 L 352.07 508.37 L 353.83 504.87 L 352.09 501.37 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="427" cy="510" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 510px; margin-left: 368px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输出课程总分
</div>
</div>
</div>
</foreignObject>
<text x="427" y="514" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出课程总分
</text>
</switch>
</g>
<ellipse cx="437" cy="680" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 680px; margin-left: 378px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输出课程平均值
</div>
</div>
</div>
</foreignObject>
<text x="437" y="684" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出课程平均值
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 13 KiB

@ -1,165 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="616px" height="861px" viewBox="-0.5 -0.5 616 861" content="&lt;mxfile&gt;&lt;diagram id=&quot;Bsa3kbXShGndVM11Jqrd&quot; name=&quot;第 1 页&quot;&gt;xZhfk6MoEMA/Da9T4l981CRz93BXt3XzcHePjDIJtSgWmkmyn/5AUaOQHXfjTqamKtDQSHf/GlqBtynOvwlcHf7kOWHAdfIz8LbAdaETufJHSS6dJAhRJ9gLmutJo+CFfiO9ppYeaU7qycSGc9bQairMeFmSrJnIsBD8NJ32xtn0qRXeE0PwkmFmSv+heXPopChwRvnvhO4P/ZOho0cK3E/WgvqAc366Enk74G0E503XKs4bwpTzer90es83RoeNCVI2SxR0IN4xO2rb9L6aS28syaXtulvyUv6kh6Zgsgdls5uu5tzcgRbV/CgyPcvTQcNiT/SsYLBeYkN4QRpxkVMEYbih79PVsY7ffpg3migb2kq7xZ5hcYFpaVrNmKRJGXs60Ia8VLjd+0kCbXPAOxENOX/fBaZxWsH1NA06HWLdPY1swR6YwxVXyLnfHf5jAAhMAKJPAiAwLE5k9F6OBX/bycZlI7cpAz/3widg4AQTDNzQwkFk4SBcgYPwMRxEJgfQsXtpdRAi0+RdBJKN/KdgF4NYdhDYIZA8g3TXjiGAUsMv8gyvVLMSPCN1/fGR8Yqzr3vBj2X+17FhVHnyVzHkOwsZWuMsQY9hqK8KJhDdcNPqEMWPtPkO+7TqF07lU0Z84ik+yJth0flYa828NGxjkeP6qE3SLwCpA1CoGskWJKFKutgH8XPbSADyl6WolKTPIG4bCQRo0+qnIEVqaZSAxDHC1KdxzrNj0fr+wzxWKUzyP15/4SUQ2hIYWRIY+itkMISWoCDl2thrPReBNFkYgiFgIZD7TdNWH6nofv7V6s+4Dv2FJdYaVyt8UJENLVU29D/pXIRmnW0jQSa2r5BSVIUgbvP/5v2KBWaMML4XuJBeqYigcl9EzMe+jAMfpfAbPZP+BXMl1mA0O0MtrLm+LYPhGrBZCvq7M1iGJQZpqx9v1RJqIRnJzQNSOXCnL0soDMxUDizuDYIVvGu+PJipXOaJ+sZgzWRyps2/su3o9n+q/RTo3vZ8NbS99J1S7rJVenLDoBd0mtAdBKNy25toX2VEK7znQFm96IBoljDxLFLdHoyiw1zIi59k6Ic/OD3zEXpyZyvfKGdk/PDlalqlJtTfscB3rBaMVHUr/nSt9INvZ4S98tNuFKStQA4cuKDfeNlg1pIxgJoxXNc0m7KaHcU7yTUxoqt1Bqj6QxPJXi3d2Fz1R2CnsH6E6nIqF3w3uDoOrKeBlt3L7izyYTw7wxezO1vIn18Ga6EazDYcTT4Q3o+q+VZN39Q4cENcqOuAqcpajhQGwlfs2e4RXFfdx9z20lbc6cKA1vxvOYLLfQv7GpfMrFz0LOWijap59BfcMbI7fu7tHD5+NPd2/wM=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 235 80 L 235 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 168.88 L 231.5 161.88 L 235 163.63 L 238.5 161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="235" cy="40" rx="60" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 40px; margin-left: 176px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="235" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 235 230 L 235 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 308.88 L 231.5 301.88 L 235 303.63 L 238.5 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="150" y="170" width="170" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 200px; margin-left: 151px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AverSumofEveryCourse
</div>
</div>
</div>
</foreignObject>
<text x="235" y="204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AverSumofEveryCourse
</text>
</switch>
</g>
<path d="M 235.87 390 L 238.34 503.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 238.45 508.88 L 234.8 501.96 L 238.34 503.63 L 241.8 501.81 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="150" y="310" width="170" height="80" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 167 310 L 167 390 M 303 310 L 303 390" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 134px; height: 1px; padding-top: 350px; margin-left: 168px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
第i门课程
</div>
</div>
</div>
</foreignObject>
<text x="235" y="354" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
第i门课程
</text>
</switch>
</g>
<path d="M 330 580 L 433.63 580" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 438.88 580 L 431.88 583.5 L 433.63 580 L 431.88 576.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 240 650 L 240 733.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 240 738.88 L 236.5 731.88 L 240 733.63 L 243.5 731.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 150 510 L 330 510 L 330 629 Q 285 591.2 240 629 Q 195 666.8 150 629 L 150 531 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 178px; height: 1px; padding-top: 559px; margin-left: 151px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
将学生的第i门课程进行相加
</div>
</div>
</div>
</foreignObject>
<text x="240" y="563" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
将学生的第i门课程进行相加
</text>
</switch>
</g>
<rect x="440" y="550" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 580px; margin-left: 441px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输出第i门课程的总分
</div>
</div>
</div>
</foreignObject>
<text x="500" y="584" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出第i门课程的总分
</text>
</switch>
</g>
<path d="M 350.17 804.08 L 458.63 803.18" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 463.88 803.13 L 456.91 806.69 L 458.63 803.18 L 456.85 799.69 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 120 860 L 140 750 L 360 750 L 340 860 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 805px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
总分/人数
</div>
</div>
</div>
</foreignObject>
<text x="240" y="809" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
总分/人数
</text>
</switch>
</g>
<rect x="465" y="775" width="150" height="55" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 803px; margin-left: 466px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输出第i门课程的平均值
</div>
</div>
</div>
</foreignObject>
<text x="540" y="806" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出第i门课程的平均值
</text>
</switch>
</g>
<path d="M 130 805 L 95 805 Q 85 805 84.96 795 L 84.15 598.25" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 600 L 95 600 L 95 350 L 142.13 350" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 148.88 350 L 139.88 354.5 L 142.13 350 L 139.88 345.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 0 585 L 75 541.7 L 150 585 L 75 628.3 L 0 585 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 585px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
if i&lt;=m
</div>
</div>
</div>
</foreignObject>
<text x="75" y="589" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
if i&lt;=m
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

@ -42,8 +42,6 @@
菜单驱动的命令行交互界面
需求分析
分析系统的功能需求和界面需求,编制用户手册如下。
C1: 启动程序
命令行中执行命令./app,系统启动,显示提示信息,然后显示功能菜单,等待用户输入命令。
````
@ -92,409 +90,3 @@ C3: 退出程序
你确定你想进入吗?(确定/不确定): 确定
结束程序!
````
C4: 添加学生信息
选择菜单命令 1 假设n=4,m=3,提示输入学生的学号,姓名和成绩,然后利用循环逐个输入学生的学号和姓名以及各科成绩。
````
请输入你的选择1
输入学生的学号,名字和成绩:
2214111018 李玉璇 100 95 86
2214111038 张桐桐 77 89 99
2214111026 孟婷玉 85 91 98
2214111022 周羽凡 75 89 100
````
C5: 计算学生各门课程总分和平均分
选择菜单命令 2 ,计算学生各门课程总分和平均分,然后利用循环逐个输出学生的顺序,总成绩和平均分,结果都取整数。
````
请输入你的选择2
学生 李玉璇: 总分 = 281 平均分 = 93
学生 张桐桐: 总分 = 265 平均分 = 88
学生 孟婷玉: 总分 = 274 平均分 = 91
学生 周羽凡: 总分 = 264 平均分 = 88
````
c6:计算每门课程的总分和平均分
选择菜单命令 3计算每门课程的总分和平均分然后利用循环逐个输出每门课程的总分和平均分结果都取整数。
````
请输入你的选择: 3
课程 1 总分 = 337 平均分 = 84
课程 2 总分 = 364 平均分 = 91
课程 3 总分 = 383 平均分 = 95
````
c7学生总分排序
如果a < b, 4sum
如果a > b则按降序排序。选择菜单命令 5按选择法将数组sum的元素值按降序进行排序显示提示信息最后打印出学生成绩。
````
请输入你的选择: 4
按分数降序排序:
2214111038 ZhangTongtong 100 95 86 281 93
2214111018 LiYuxuan 85 91 98 274 91
2214111026 MengTingyu 77 89 99 265 88
2214111022 ZhouYufan 75 89 100 264 88
请输入你的选择: 5
按分数升序排列:
2214111022 ZhouYufan 75 89 100 264 88
2214111026 MengTingyu 77 89 99 265 88
2214111018 LiYuxuan 85 91 98 274 91
2214111038 ZhangTongtong 100 95 86 281 93
````
c8学号顺序排序
选择菜单命令 6按学号从小到大进行排序显示提示信息最后打印学生信息。
````
请输入你的选择: 6
按学号降序排列:
2214111018 LiYuxuan 85 91 98 274 91
2214111022 ZhouYufan 75 89 100 264 88
2214111026 MengTingyu 77 89 99 265 88
2214111038 ZhangTongtong 100 95 86 281 93
````
C9: 姓名顺序排序
选择菜单命令 7 ,按姓名的字典顺序进行排序,显示提示信息,最后打印学生信息。
````
请输入你的选择: 7
按名称按字典顺序排序:
2214111018 LiYuxuan 75 89 100 264 88
2214111022 ZhouYufan 77 89 99 265 88
2214111026 MengTingyu 100 95 86 281 93
2214111038 ZhangTongtong 85 91 98 274 91
````
C10: 学生信息查询
选择菜单命令 8 ,提示输入学生学号,若该学号存在,则输出学生信息;否则提示没有找到并结束。
````
请输入你的选择: 8
输入你想搜寻的学号:2214111018
2214111018 LiYuxuan 75 89 100 264 88
1 输入成绩
2 计算每门课程的总分和平均分
3 计算每名学生的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按学号升序排序
7 按名称按字典顺序排序
8 按数字搜索
9 按名字搜索
10 统计分析
11 列表记录
12 写一个文件
13 从文件中读取
0 退出
请输入你的选择: 8
输入你想搜寻的学号:2214111001
没有找到!
选择菜单命令 9 ,提示输入学生姓名,若该姓名存在,则输出学生信息;否则提示没有找到并结束。
请输入你的选择: 9
输入你想搜寻的名字:ZhangTongtong
2214111038 ZhangTongtong 85 91 98 274 91
1 输入分数
2 计算每门课程的总分和平均分
3 计算每名学生的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按学号升序排序
7 按名称按字典顺序排序
8 通过学号搜索
9 通过姓名搜素
10 统计分析
11 列表记录
12 写一个文件
13 从文件中读取
0 退出
请输入你的选择: 9
请输入你想搜索的名字:GuoJiahui
Not found!
````
C11: 统计各分数段学生人数及所占百分比
选择菜单命令 10提示输入学生成绩通过循环得出各分数段学生人数及所占百分比
````
请输入你的选择: 10
关于课程1:
<60 0 0.00%
60-70 0 0.00%
70-80 2 50.00%
80-90 1 25.00%
90-100 0 0.00%
100 1 25.00%
For course 2:
<60 0 0.00%
60-70 0 0.00%
70-80 0 00.00%
80-90 2 50.00%
90-100 2 50.00%
100 0 0.00%
For course 3:
<60 0 0.00%
60-70 0 0.00%
70-80 0 0.00%
80-90 1 25.00%
90-100 2 50.00%
100 1 25.00%
````
C12: 打印学生信息
选择菜单命令11打印
````
请输入你的选择11
2214111018 李玉璇 100 95 86 281 93
2214111038 张桐桐 77 89 99 265 88
2214111026 孟婷玉 85 91 98 274 91
2214111022 周羽凡 75 89 100 264 88
````
C13: 将学生信息保存在文件中
选择菜单命令 12 ,将学生信息保存在文件 student.txt 中。如果文件不存在,则给出错误信息并退出程序,否则逐个读入
````
请输入你的选择12
未能打开你的成绩!
1 输入成绩
2 计算所有课程的总分和平均值
3 计算所有学生的总分和平均值
4 按分数降序排列
5 按分数升序排列
6 按数字升序排列
7 按名字字母排列
8 按数字搜索
9 按名字搜索
10 统计分析
11 列表记录
12 写入文件
13 从文件中读取
0 退出
请输入你的选择12
2214111018 李玉璇 100 95 86 281 93
2214111038 张桐桐 77 89 99 265 88
2214111026 孟婷玉 85 91 98 274 91
2214111022 周羽凡 75 89 100 264 88
````
C14从文件中读取学生信息
选择菜单命令 13 ,从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组 stu 中。如果文件为空,则给出错误信息并退出程序,反之,逐个读入
````
请输入你的选择13
未能打开你的成绩!
1 输入成绩
2 计算所有课程的总分和平均值
3 计算所有学生的总分和平均值
4 按分数降序排列
5 按分数升序排列
6 按数字升序排列
7 按名字字母排列
8 按数字搜索
9 按名字搜索
10 统计分析
11 列表记录
12 写入文件
13 从文件中读取
0 退出
请输入你的选择12
2214111018 李玉璇 100 95 86 281 93
2214111038 张桐桐 77 89 99 265 88
2214111026 孟婷玉 85 91 98 274 91
2214111022 周羽凡 75 89 100 264 88
````
# 概要设计
系统主要分为用户界面和数据处理两大模块。
用户界面模块包括输入学生成绩ReadScore、计算学生总分和平均分AverSumofEveryStudent、计算总分和平均分AverSumofEveryCourse、按选择发将数组元素排序Sortbyscore、使数据按升序排序Ascending、使数据按降序排序Descending、交换单精度浮点数据SwapFloat、交换长整型数据SwapLong、交字符串SwapChar、按选择法将数组元素按从低到高排序、交换实现字符串按字典顺序排序SortbyName、按学号查找学生成绩并显示查找结果SearchbyNum、按姓名的字典顺序排出成绩表 、统计各分数段的学生人数及所占的百分比 、打印学生成绩 、输出学生的学号、姓名及课程的成绩到文件student.txt中 、从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中
上述各模块通过主程序main进行调用系统模块图如下。
![添加库存记录流程图](0.drawio.svg)
各模块的主要功能如下:
main
系统主函数模块,显示菜单,根据用户选择的菜单命令,执行相关操作。
ReadScore
输入n个学生的m门课成绩
AverSumofEveryStudent
计算每个学生各门课程的总分和平均分
AverSumofEveryCourse
计算每门课程的总分和平均分
SortbyScore
按选择法将数组sum的元素值排序
Ascending
使数据按升序排序
Descending
使数据按降序排序
SwapFloat
交换两个单精度浮点型数据
SwapLong
交换两个长整型数据
SwapChar
交换两个字符串
AsSortbyNum
按选择法将数组num的元素值按从低到高排序
AsSortbyNum
交换法实现字符串按字典顺序排序
SearchbyNum
按学号查找学生成绩并显示查找结果
SearchbyName
按姓名的字典顺序排出成绩表
StatisticAnalysis
统计各分数段的学生人数及所占的百分比
PrintScore
打印学生成绩
WritetoFile
输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中
ReadfromFile
从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中
详细设计
针对概要设计
## main
Step 1:初始化,
Step 2:根据用户选择的命令执行相应的操作,
Step 2.1:显示菜单,
Step 2.2:选择菜单命令 c,
Step 2.3:if c == 1 then ReadScore,
Step 2.4:if c == 2 then AverSumofEveryStudent,
Step 2.5:if c == 3 then AverSumofEveryCourse,
Step 2.6:if c == 4 then SortbyScore(Descending),
Step 2.7:if c == 5 then SortbyScore(Ascending),
Step 2.8:if c == 6 then AsSortbyNum,
Step 2.9:if c == 7 then SortbyName,
Step 2.10:if c == 8 then SearchbyNum,
Step 2.11:if c == 9 then SearchbyName,
Step 2.12:if c == 10 then StatisticAnalysis,
Step 2.13:if c == 11 then PrintScore,
Step 2.14:if c == 12 then WritetoFile,
Step 2.15:if c == 13 then ReadfromFile,
Step 2.16:if c == 0 then exit,
## 详细设计
![系统模块图](xitong.drawio.svg)
````
1·输入n个学生的m门课成绩
ReadScore
Step 1:显示提示信息,要求输入学生的学号,姓名和成绩
Step 2利用循环输入学生的学号成绩和各科成绩
````
![n个学生的m门课成绩](1.drawio.svg)
````
2·计算每个学生各门课程的总分和平均分
AverSumofEveryStudent
step1输入一门学生的成绩
step2将学生成绩相加输出总分
step3输出课程平均值
step4输入下一门课程
````
![总分平均值](2.drawio.svg)
````
3·计算每门课程的总分和平均分
AverSumofEveryCourse
step1输入第一门课程的所有学生的成绩
step2将成绩相加输出科目总分
step3总分/人数,输出课程平均分
step4输入下一个科目
````
![课程总分平均分](3.drawio.svg)
````
4·按选择法将数组sum的元素值排序
SortbyScore
Step 1:利用循环将i赋值给k
Step 2:用循环从i+1到n-1比较,将较小的赋给k
Step 3:如果k与i不相等每一课的成绩交换总分平均分学号姓名依次交换
````
![lyx4](c4.drawio.svg)
5.按选择法将数组num的元素值按从低到高排序
````
Step 1:利用 for 循环给 i 赋值为0
Step 2:利用 if 条件判断学号是否致
Step 3:利用二次循环找出所有符合条件件的学
Step 4:利用 i 件语句能否找到该学生
````
![排序1](mty5.drawio.svg)
6.交换法实现字符串按字典顺序排序
````
step 1:利用for循环将相邻的两个姓名作比较
step 2:如果前一个字符串大于后一个利用for循环交换m门课程的成绩
step 3:依次交换
````
![排序2](mty6.drawio.svg)
7.按学号查找学生成绩并显示查找结果
````
Step 1:利用for循环给i赋值为0
Step 2:利用if条件判断学号是否一致
Step 3:利用二次循环找出所有符合条件的学生
Step 4利用if条件语句能否找到该学生
````
![查找](mty7.drawio.svg)
8.按姓名的字典顺序排出成绩表
````
Step 1:利用for循环给i赋值为0
Step 2:利用of条件语句和循环判断是否此学生并显示结果
````
![排序3](mty.8.drawio.svg)
9·统计各分数段的学生人数及所占的百分比
````
StatisticAnalysis
step1:输入每个学生的成绩
step2:判断输入成绩所在的分数段
step3:将各个分数段的成绩个数除以学生总人数并乘以百分百
````
![统计](c9.drawio.svg)
10·打印学生成绩
````
PrintScore
step1:输入学生的学号,姓名.
step2:查找该学生的成绩
step3:输出该学生的成绩
````
![打印](c10.drawio.svg)
11·输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中
````
WritetoFile
step1:输入学生的学号和姓名
step2:查找该学生的所有课程成绩
step3:将成绩保存到文件student.txt中
````
![文件](c11.drawio.svg)
12·从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中
````
ReadfromFile
step1:查找文件
step2:从文件中读取学生的学号姓名成绩
step3:将信息写入到数组stu中
````
![stu](c12.drawio.svg)
# 总结思考
张桐桐
在这次项目的活动中,我体会到了团队合作的高效和包容,利用看板去分配任务,将一个大项目分成多个大问题,然后再把大问题分成一个一个的小问题,每完成一个小问题都在向目标前进一步,不仅降低了难度也提高了组员们自信和成就感。将每个任务分配到个人,不仅赋予使命,也有其他成员对其进行测试,让每个分支任务可以更好的进行。本次团队合作让我认识到作为一个管理者需要一个对问题的大局观念,如何去分配任务,如何去与队友进行有效的沟通,如何把控项目的进度,这些都让我在此次项目中学到很多。
李玉璇
通过本次项目,我学到了团队合作的重要性,知道了团队之间合作完成一个项目的过程是需要配合和分工,通过分工将大的工作分成细小的模块,在看板上呈现出一个个任务点的进行,让我有种提前进入工作的感受。在以后的工作当中这也是不可缺少的一部分,这也给我了一种全新的体验。与团队的沟通也是极其重要的,每个人都对自己的任务部分负责,让进度更好的往下一步进行,使得任务更快的完成。我在这个项目不仅仅时学会了工作中的合作更多的还是对分配的任务进行较好的处理,提高了效率和责任感,这是一次有意义有收获的项目合作活动。
周羽凡
完成了这次的项目活动,我感受到了合作的魅力,将一项任务划分给不同的成员,各个组员分配到各自擅长的事物,不仅大大提高了项目的完成速度,也提高了每个人的自信心,而且遇到困难的问题是,大家还可以相互探讨,相互取长补短,一起攻破难题。而且,我们还将各自的任务划分的很细致,每完成一个都会有小小的成就感。也让我体会到了分工合作的意义,让我受益匪浅。希望我们也能在从中找出我们的不足并加以改进,让我们的整体实力更上一层楼,同时也为我以后的项目合作打下基础。

44
c10

@ -1,44 +0,0 @@
C10: 学生信息查询
选择菜单命令 8 ,提示输入学生学号,若该学号存在,则输出学生信息;否则提示没有找到并结束。
请输入你的选择: 8
输入你想搜寻的学号:2214111018
2214111018 LiYuxuan 75 89 100 264 88
1 输入成绩
2 计算每门课程的总分和平均分
3 计算每名学生的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按学号升序排序
7 按名称按字典顺序排序
8 按数字搜索
9 按名字搜索
10 统计分析
11 列表记录
12 写一个文件
13 从文件中读取
0 退出
请输入你的选择: 8
输入你想搜寻的学号:2214111001
没有找到!
选择菜单命令 9 ,提示输入学生姓名,若该姓名存在,则输出学生信息;否则提示没有找到并结束。
请输入你的选择: 9
输入你想搜寻的名字:ZhangTongtong
2214111038 ZhangTongtong 85 91 98 274 91
1 输入分数
2 计算每门课程的总分和平均分
3 计算每名学生的总分和平均分
4 按分数降序排序
5 按分数升序排序
6 按学号升序排序
7 按名称按字典顺序排序
8 通过学号搜索
9 通过姓名搜素
10 统计分析
11 列表记录
12 写一个文件
13 从文件中读取
0 退出
请输入你的选择: 9
请输入你想搜索的名字:GuoJiahui
Not found!

@ -1,4 +1,4 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="321px" height="681px" viewBox="-0.5 -0.5 321 681" content="&lt;mxfile&gt;&lt;diagram id=&quot;Wkp7GFnNrqrn7cGdbQBS&quot; name=&quot;第 1 页&quot;&gt;xVjLkpswEPwaXVO8H0cweHNJaqt8SPaoGC1QJRAlyzbO10cykgGLrJ2swSdrWiOh6ekZhIG9qtoXCpviG8kQBpaRtcBOgGWZhm/xH4GcOsT1gg7IaZlJpx7YlL+RWinRfZmh3ciREYJZ2YzBLalrtGUjDFJKjmO3d4LHT21gjjRgs4VYR3+UGSs6NHCNHv+KyrxQTzYNOVNB5SyBXQEzchxAdgrsFSWEdaOqXSEsyFO8dOvWf5m9HIyimt2zwOsWHCDey9jkudhJBYsyHrs0a1Lzn7hgFeaWyYf6A+UZdmRPt3ILuSmDNEfSy+0gsflgmTzkCyIVYvTEHSjCkJWHMfFQ5i+/+PUh8oGMcjpiS4u4gmWtR40xV5MI9liUDG0aeA7myAV9JwEHRBlqPwxOzlq+VIMsh1Cax4G2JFQMZKWwz7ARLJJ/V8+//6z8u3rEaQDiFIQ2SF0QuCByxSBKQOSB1AehA8L1eRCBwBlMcec1iH0xCC0QrM5TvtyH5zBINC4X0JI71pLl6WIyrQk1eQ9Qk+rPA3Lf5tCTr+spfJaeTF1Q3/8xZh4qPf3khvHFVeabMJWRtCPrJK3/5cp0Hk3WeWlEKTwNHBpS1mw32PlVAL1Uw7FSHdu44r3bsM/C5WR3JcafLPTABnECUg8EoSh6UcS8+g0xFa3Hpa/q+zqZlOzrDGUyecuXtGMsWdITNM5Q0eGESr1nlXR44xXhgziS74rYO2spEP2evyLiGEShxg+/5DViyDmAGCNMcgorzkyDaMkPh+j13Gs/cUtf72WL1A1Z2GNxzqA+11lSfTqZDxDbTP1Pa3C2OabO868o6eQuV/WsfLKRqsc8qpEqum7Uw6WlOiAOxOXno96qrlVaby1I9Wu/W6SvXgvbXu7abU58d3XtQ1DqgTCZIucGJbOXvm/OV/rc7L96O5H2/x3Y6R8=&lt;/diagram&gt;&lt;/mxfile&gt;">
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="321px" height="681px" viewBox="-0.5 -0.5 321 681" content="&lt;mxfile&gt;&lt;diagram id=&quot;Wkp7GFnNrqrn7cGdbQBS&quot; name=&quot;第 1 页&quot;&gt;xVhNj5swEP01vlZ8G46QkPbSaqU9tHt0gxeQDEaOk0B/fe1gAo7ZTaok9BTP89h43rwZTIC7qtqvDDXFd5phAhwra4G7Bo5jW54nfiTS9QiEdg/krMyU0wi8ln/wsFKh+zLDO82RU0p42ejgltY13nINQ4zRo+72Ton+1Abl2ABet4iY6M8y40WPhr414t9wmRfDk21LzVRocFbArkAZPU4gNwXuilHK+1HVrjCR5A289Os2H8yeD8ZwzW9ZEPQLDojsVWzqXLwbgsWZiF2ZNa3FT1LwigjLFsPeXfp8eAIF7eiebZWXegpHLMfKyz9HL2SDaYU564QLwwTx8qDvjlT+8rPfGKIYqCjnI3aMiCtU1mbUhAg1yWCPRcnxa4NOZz8KQc8RcMCM4/ZzCszg1AIHKjWocoiUeZxoS0HFRFYDdg8b4f/Jv2/mHy6Uf9+MOA1BkoLIBakPQh/EvhzEaxAHIIUg8kC0OQ1iEHqTKeG8AQmUg8gB4eo0BdU+Iofh2uByAS35upacwBST7cyoKXiAmob+PCH3bRE9QVNP0UJ6sk1B/fjHmEVkrPslDOuLP5hv0hyMdatZnbIexpXt3UnWaWnMGOomDg0ta76b7PwigVGqka5Uz7UueO83HLNwPtlNiYGzhR66IFmDNABhJIteFrGofktOxRu99If6vkwmo/s6w5lK3vIl7VlLlvQMjUtUdDSj0mChko6uvCIgSGL1rkiCk5ZC2e/FKyJJQBwZ/IhLXiOHImRECCY0Z6gSzDSYleJwmF3OvYwT1/T1XrZ4uCFLWxfnE9Tne0uqzyTzGWJ7TP8zGpxr69QFl5T06larRlbubKQBfGwjtb2b6uHcUj2QhPLy81lvHa5VRm8taPV7v1ukr14K213u2m3PfHf17UNSGoBoPUfOFUqeXvrQfl7pC3P86u1FOv534KZ/AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 260 80 L 260 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
@ -111,8 +111,8 @@
</text>
</switch>
</g>
<path d="M 40 520 L 40 570 Q 40 580 50 580 L 253.63 580" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 258.88 580 L 251.88 583.5 L 253.63 580 L 251.88 576.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 40 520 L 40 570 Q 40 580 49.99 579.55 L 253.64 570.29" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 258.88 570.05 L 252.05 573.87 L 253.64 570.29 L 251.73 566.87 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 40 440 L 80 480 L 40 520 L 0 480 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

@ -1,14 +0,0 @@
// 10函数功能按选择法将数组num的元素值按从低到高排序
void AsSortbyNum(STU stu[], int n, int m)
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
K=i;
for(j=i+1;j<10;j++)
{
if((*compare)(stu[k]num.stu[j].num)) k=j;}
if(k!=i)
{t=stu[i].num;stu[i].num=stu[k].num;stu[k].num=t;}
}
}

@ -1,169 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="321px" height="791px" viewBox="-0.5 -0.5 321 791" content="&lt;mxfile&gt;&lt;diagram id=&quot;hyrVUyb55vLDNn8GanxI&quot; name=&quot;第 1 页&quot;&gt;zVjLdpswEP2WLnROs6CHh41haRy7XTTdZJFuZSNjtUKiQsR2vr4DkrAxuGmblmSFuDNCmqur0QgULPLDR4mL3Z1ICUO+mx5QcIt833MnE3jUyFEjs5mngUzS1DidgHv6RGxPg1Y0JWXHUQnBFC264EZwTjaqg2Epxb7rthWsO2qBM9ID7jeY9dEHmqqdRqOpe8I/EZrt7Mieayw5ts4GKHc4FfszKFiiYCGFULqVHxaE1eRZXnS/1RVrOzFJuPqdDmYhHjGrTGxmXupogyUpxG5eueDwSHYqZ/DmQVO71z5XZ2CgUlRyY7zMKArLjBivoI0eZENETpQ8goskDCv62P06NuuXtX6nEKFhohyO2O9FnGPK+1EzBmqqg93vqCL3BW7mvgdBDxHwSKQih19T0A/OdPBjowazHayO9mfaMtDuTFYWewkbYY+Nr8gPcV4HmcE4yZdR9BD09TAdSQ82pwxSwF6VgngkCoKBJBA2oQvWCTz8UdWJKVmLg1PSJ8ozFMzBYy1kSqQDcBM+pDmZwZ5qbG5hwAKnadujRRktldOM4KhjQbTVcNpkcCakBmW2fj+FaCEc9/S80X5bwZWzxTllR+29ELwUDFhp/NoFNQF8pmsigUQBG9+9E1xcOuhud4QzoZsLWCpKpH7JoUepM0I7eNmcUvXQXvAhtOFBUlAOZjQzbHyrSkW3x8YYtmO5G5hp2aGYUU54lZfnbmFmnkx7vGBtHCWKi5UwBqkTzJCJke2lxSzqwOesZS2UEvmfrboZ77Kr776jeSGkwlw9z+Bn7zp3GyhJ/oq9y6X2i8MbEODw1hrchWu8+Z5JUfHUOdtbSmJe2gSVnOKWOKVVqX0C+4mUlgXDJkzKa6XaAQ+OObO0iSqKmbYJOCG3rC51eqb6A4492LR1RyRV3Y6OPnq1UGRuO+uJdoO8tuoQIX87e2bY/1nNX6ZEz/W1Jlz9gPeb5zcH7Lo+Tw9AOlFiRYEeQxkcHZq1LpMA6y3Ug+us1M9Tv+EGYH3aWPDixB2hCJt1i7C2RD+rwjx/oAwL/0EZNu2fwMsZShIUB2gZovgWxatX4GTympx4/Up9lEIs7hdi3hWa/nklFg/oIELJstHBFEVTNJ/WjfktmocNskLJrG7EPooWjWlmnOFSEd32GGtSP0kNQ+NvqyAcU0KvdL317E+Jcw2NdcG1gz8johBFUa0RnWfm8Z+ml66Q/oNSpu6YSulfhMdRysC1zxvt6jtw8VtOULKqDxydZeKokQzIB5ioUgjlgzqoN6eVcDKmVgZO67eWZmfR/yMEXk8/KBvb2W/eYPkT&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 60 80 L 60 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 168.88 L 56.5 161.88 L 60 163.63 L 63.5 161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="60" cy="40" rx="40" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 40px; margin-left: 21px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="60" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 120 200 L 193.63 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 198.88 200 L 191.88 203.5 L 193.63 200 L 191.88 196.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 200px; margin-left: 160px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
X&gt;N
</div>
</div>
</div>
</foreignObject>
<text x="160" y="203" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
X&gt;N
</text>
</switch>
</g>
<path d="M 60 230 L 60 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 308.88 L 56.5 301.88 L 60 303.63 L 63.5 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 270px; margin-left: 60px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
X&lt;N
</div>
</div>
</div>
</foreignObject>
<text x="60" y="273" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
X&lt;N
</text>
</switch>
</g>
<rect x="0" y="170" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 200px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<ol class="linenums" style="box-sizing: border-box; margin: 0px; padding: 0px; list-style-type: none; color: rgb(51, 51, 51); font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; font-size: 13.6px; text-align: justify;">
<li class="L1" style="box-sizing: border-box; margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-bottom: 0px; list-style-type: none; margin-bottom: 0px !important;">
<code style="box-sizing: border-box; font-size: 12px; font-family: Consolas, &quot;Liberation Mono&quot;, Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-radius: 3px; display: inline; max-width: initial; overflow: initial; line-height: inherit; overflow-wrap: normal; border: 0px;">
<span class="typ" style="box-sizing: border-box; margin-top: 0px; margin-right: 0px; margin-left: 0px; padding: 0px; margin-bottom: 0px !important; color: rgb(102, 0, 102);">
WritetoFile
</span>
</code>
</li>
<li></li>
</ol>
</div>
</div>
</div>
</foreignObject>
<text x="60" y="204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
WritetoFile
</text>
</switch>
</g>
<rect x="200" y="170" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 200px; margin-left: 201px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
结束
</div>
</div>
</div>
</foreignObject>
<text x="260" y="204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
结束
</text>
</switch>
</g>
<path d="M 60 370 L 60 443.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 448.88 L 56.5 441.88 L 60 443.63 L 63.5 441.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="310" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 340px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入学号和姓名
</div>
</div>
</div>
</foreignObject>
<text x="60" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入学号和姓名
</text>
</switch>
</g>
<path d="M 60 510 L 60 583.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 588.88 L 56.5 581.88 L 60 583.63 L 63.5 581.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="450" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 480px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
输入成绩
</div>
</div>
</div>
</foreignObject>
<text x="60" y="484" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入成绩
</text>
</switch>
</g>
<path d="M 60 650 L 60 723.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 728.88 L 56.5 721.88 L 60 723.63 L 63.5 721.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="590" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 620px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
保存到student.txt
</div>
</div>
</div>
</foreignObject>
<text x="60" y="624" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
保存到student.txt
</text>
</switch>
</g>
<rect x="0" y="730" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

@ -1,24 +0,0 @@
选择菜单命令 10提示输入学生成绩通过循环得出各分数段学生人数及所占百分比
请输入你的选择: 10
关于课程1:
<60 0 0.00%
60-70 0 0.00%
70-80 2 50.00%
80-90 1 25.00%
90-100 0 0.00%
100 1 25.00%
For course 2:
<60 0 0.00%
60-70 0 0.00%
70-80 0 00.00%
80-90 2 50.00%
90-100 2 50.00%
100 0 0.00%
For course 3:
<60 0 0.00%
60-70 0 0.00%
70-80 0 0.00%
80-90 1 25.00%
90-100 2 50.00%
100 1 25.00%

@ -1,24 +0,0 @@
// 11函数功能交换法实现字符串按字典顺序排序
void AsSortbyNum(STU stu[], int n, int m)
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
k = i;
for (j=i+1; j<n; j++)
{
if (stu[j].num < stu[k].num) k = j;
}
if (k != i)
{
for (t=0; t<m; t++)
{
SwapFloat(&stu[k].score[t], &stu[i].score[t]);
}
SwapFloat(&stu[k].sum, &stu[i].sum);
SwapFloat(&stu[k].aver, &stu[i].aver);
SwapLong(&stu[k].num, &stu[i].num);
SwapChar(stu[k].name, stu[i].name);
}
}
}

@ -1,5 +0,0 @@
11·输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中
WritetoFile
step1:输入学生的学号和姓名
step2:查找该学生的所有课程成绩
step3:将成绩保存到文件student.txt中

@ -1,90 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="121px" height="651px" viewBox="-0.5 -0.5 121 651" content="&lt;mxfile&gt;&lt;diagram id=&quot;KPWRNnKjMJi8c1-M4nXt&quot; name=&quot;第 1 页&quot;&gt;zZbBkqMgFEW/hr2KKC41bWY2vcqi11Rk1CqUFMGY9Nc36COJo5mZquk2vdHH5aHc69ES4U1z/qHYoXqVBRco8Iozwi8oCCgm5miFyyhEfjwKpaqLUfJvwq5+5yB6oHZ1wY+TRi2l0PVhKu5l2/K9nmhMKdlP235JMb3rgZV8Juz2TMzVt7rQFdgi3k3/yeuycnf2PZhpmGsG4VixQvZ3Es4R3igp9Vg15w0XNjuXy7hu+2D2ujHFW/1PC/C44sREB+ZgY/ri3PLCmIdhK1tzyirdCDPyTTm2256HWwDpKDu1d13usTFVctcWXAMw4HDZcK0upkdxwXR9ml6fwSMsr303l6YAow9M+zPTDavbuXEhDFHWb1/Vmu8ObNh+b5heyuDElebnP6cwdwcLggSIgFfCpzDu7wADqbpjy2n/lUf0JAiCBQjIWhAEc9N5hJItSoktaIKyfFBMHaM8RFmGsmgWzApoxFM0MJmj4QcLbESfwQZ9EhtkgY14LTbIAhsUpVvLQE4Q3VoqTJG+oNQUMUpCS44tUkTDgRYDkj+A5NuFv2emZNcWvICM1ocoTFaEyF13dYjiBYiStSCKFyAakEnoABGBL01CUOZZdgxcNDzqbsCH2s7vRk2E1/z0JH+n5tmBxPHXBWKGtx/BYe7ubxrnHw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 60 80 L 60 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 168.88 L 56.5 161.88 L 60 163.63 L 63.5 161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="60" cy="40" rx="40" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 40px; margin-left: 21px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
main
</div>
</div>
</div>
</foreignObject>
<text x="60" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
main
</text>
</switch>
</g>
<path d="M 60 230 L 60 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 308.88 L 56.5 301.88 L 60 303.63 L 63.5 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="170" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 200px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
查找文件
</div>
</div>
</div>
</foreignObject>
<text x="60" y="204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
查找文件
</text>
</switch>
</g>
<path d="M 60 370 L 60 443.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 448.88 L 56.5 441.88 L 60 443.63 L 63.5 441.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="310" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 340px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
读取学生的信息
</div>
</div>
</div>
</foreignObject>
<text x="60" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
读取学生的信息
</text>
</switch>
</g>
<path d="M 60 510 L 60 583.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 588.88 L 56.5 581.88 L 60 583.63 L 63.5 581.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="450" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 480px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
存入数组stu中
</div>
</div>
</div>
</foreignObject>
<text x="60" y="484" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
存入数组stu中
</text>
</switch>
</g>
<rect x="0" y="590" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 7.8 KiB

@ -1,22 +0,0 @@
// 12函数功能按学号查找学生成绩并显示查找结果
void SearchbyNum(STU stu[], int n, int m)
{
long number;
int i, j;
printf("Input the number you want to search:");
scanf("%ld", &number);
for(i=0;i<n;i++)
{
if (stu[i].num==number)
{
printf("%ld\t%s\t", stu[i].num, stu[i].name);
for (j=0; j<m; j++)
{
printf("%.0f\t", stu[i].score[j]);
}
printf("%.0f\t%.0f\n", stu[i].sum, stu[i].aver);
return;
}
printf("\nNot found!\n");
}
}

@ -1,5 +0,0 @@
12·从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中
ReadfromFile
step1:查找文件
step2:从文件中读取学生的学号姓名成绩
step3:将信息写入到数组stu中

@ -1,24 +0,0 @@
C13: 将学生信息保存在文件中
选择菜单命令 12 ,将学生信息保存在文件 student.txt 中。如果文件不存在,则给出错误信息并退出程序,否则逐个读入
请输入你的选择12
未能打开你的成绩!
1 输入成绩
2 计算所有课程的总分和平均值
3 计算所有学生的总分和平均值
4 按分数降序排列
5 按分数升序排列
6 按数字升序排列
7 按名字字母排列
8 按数字搜索
9 按名字搜索
10 统计分析
11 列表记录
12 写入文件
13 从文件中读取
0 退出
请输入你的选择12
2214111018 李玉璇 100 95 86 281 93
2214111038 张桐桐 77 89 99 265 88
2214111026 孟婷玉 85 91 98 274 91
2214111022 周羽凡 75 89 100 264 88

@ -1,11 +0,0 @@
//1 函数功能输入n个学生的m门课成绩
void ReadScore(STU stu[], int n, int m)
{
int i, j;
printf("Input student's ID, name and score:\n");
for(i=0;i<n;i++)
{scanf("%ld%s",&stu[i].num,stu[i].name);
for (j=0; j<m; j++)
scanf("%f",&stu[i].score[j]);
}
}

@ -1,16 +0,0 @@
//2 函数功能:计算每个学生各门课程的总分和平均分
void AverSumofEveryStudent(STU stu[], int n, int m)
{
int i, j;
for (i=0; i<n; i++)
{
stu[i].sum = 0;
for (j=0; j<m; j++)
{
stu[i].sum = stu[i].sum + stu[i].score[j];
}
stu[i].aver = m>0 ? stu[i].sum / m : -1;
printf("student %d: sum = %.0f, aver = %.0f\n",
i+1, stu[i].sum, stu[i].aver);
}
}

@ -1,17 +0,0 @@
//3 函数功能:计算每门课程的总分和平均分
void AverSumofEveryCourse(STU stu[], int n, int m)
{
int i, j;
float sum[COURSE_NUM], aver[COURSE_NUM];
for (j=0; j<m; j++)
{
sum[j] = 0;
for (i=0; i<n; i++)
{
sum[j] += stu[i].score[j];
}
aver[j]=sum[j]/i;
printf("student %d: sum = %.0f, aver = %.0f\n",
j+1, sum[j], aver[j]);
}
}

8
c4

@ -1,8 +0,0 @@
选择菜单命令 1 假设n=4,m=3,提示输入学生的学号,姓名和成绩,然后利用循环逐个输入学生的学号和姓名以及各科成绩。
请输入你的选择1
输入学生的学号,名字和成绩:
2214111018 李玉璇 100 95 86
2214111038 张桐桐 77 89 99
2214111026 孟婷玉 85 91 98
2214111022 周羽凡 75 89 100

@ -1,415 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="831px" height="1051px" viewBox="-0.5 -0.5 831 1051" content="&lt;mxfile&gt;&lt;diagram id=&quot;RZ1mwVQwuEq7DGeOAXav&quot; name=&quot;Page-1&quot;&gt;7VtNc6M2GP4tPeiYHUAI8NHETnvpzM6kM+0eiVFsNhi5Qk7s/vpKIL4kcJw4Au9mD4ml10LA8z7vpxIAb7eH32m02/xJYpwCx4oPAC6A49i+5/EPITmWEuQFpWBNk1guagT3yX9YCi0p3ScxzjsLGSEpS3Zd4YpkGV6xjiyilLx0lz2StHvXXbTGmuB+FaW69O8kZptSGiCrkf+Bk/WmurNtyW+2UbVYCvJNFJOXlgguAbylhLBytD3c4lSAV+FSXnc38G39YBRn7JwLoHwMdqzeDcf8VeU0Ixn/CDdsm/KZzYePJGNSH3bA5+Xl4prBB5CinOzpSq5y6jflFMFkixk98iUUpxFLnrtbRVJX63pdfelXkvCbOJbkVSAxPdaod3dgEV1jJi9qMOGD1lM0ogKpftSccuPnKN3LhwWOlzKJTwdP7989qb64yQvk5nyBHewOBXzV93y0Fp/3hLKH4/2KUFztyZ+m3LZcoWmMkn0W41hq6GWTMHy/iwqsX7j9dRUonxxThg+nVabrR17gKDjL6UtjCXa1ZNOyAs8aVmhHFyeAR5PQ1R2Dro45uroaXcsHSYBz+53/PPEfdhmt+oH+UJqNyTN/Ep55RnhWE6simmuOaG+1T3xI2D98bMnxt5Z8cWh9sTjKyVUj3QXac4wB7ekWXeAj8iD+K7txNEVMbsCjBopAAyjDB1ZF1Ac6GEyZWNZBJkqTdcbHK/7amHKBACXhyeBcfrFN4lhcHlLMA3z0UGwluLoTmi5eAoUALcRee0ZyiTKf5oySJ3xLUkIb83hM0lQVfbxybPS6drwe5ajO4z3KqW41snudmTF6vwskNGf1M43UT/wjub7IrUacMS3f1l3fGOSyByC5kF2upbALmStqpkmuDQGnmiUyl/XYtmaXPKu2ipHIsfmNQ1HyNdHZ1pC+NpOtvdgoJgt/RevT6oHwdfUYi9YT+QUzVTdS8h7XoF8ILgSOw0OPRXn0BVXTb5KtxaQpkYpZVSNdAjj3UQUA0i04RpQAFefsQnNK0JsfYOmB+R2YuWAZgHAJAr0JSjdk+7DPJ3HFWsg/N3sKPsLY9cryr0/rdVHl+o4KbVuagIa87ps787WzsDuuovEcA87ig7y1b8B5nE1aXyPtU52AfdeNe+JcC8GBEDRKrqUXkXef1sChN6GBO3pg0iw+TZNdjidhKXQVliIdG9cUNj1B+5Q3zPF6y19r2Yi4k4vn4qRXcDaN8jxZdRFb7elz4QMERxuPUPrH6sg5KOgZUdaaa0laTwtbet3BJnYrsfM8v+2v7S+W+4rDLmZfMU04rMIUL0j5KljbXnuoHm+pHfWovZJdWrarrPMVOpWPr2WG+kYzZSNzbbmJTosMHWK4igaQmlZ+4HGR+zMBZ9ujAddz/vP0G+htBU9YyDhKnoN68pzAUB3TcwD0eesY6KJXFWEqzan2HdvGzRz2eGpX2ZyNw4mcoxngkNLU8Aw6R73CYaB1OL69wva7FnR7km1jJSHUzy/K9vsndZcoeF0Zpprt8M1tn97ywz+z/lB6Rf44zSLYU3Zc7HfORrin7l66IJyDuSs6w8ECzLkEgSAAgSckMwRCPYqN7yS04DOqk/AmCUcQjRKO/Jm5OI7O4hsfWCAMG+JNzzc1KNUxexS+XXp49k6++aPwbWaZ45veDO/3b+EMhFAMZgsQ+NdMvNo6xyCeO03BAsfJu23LIPP0xLufeXM+8ArC3YFQb55NT7jaPEchnJ5+D8Dmg1lpsJYQXh9sDblGwa0nkTtluT/aIcH7/EjFpnZuPdDvHKejDx2kkEStk85t6ddMqsLCmX81wlUcHVvLZO05+MRqI9e25I0aYpZbvrvvrbdvKWZ7mmn8nbovcaOmgAb/LJBPm/97LFFt/nsULv8H&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 120 60 L 120 93.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 120 98.88 L 116.5 91.88 L 120 93.63 L 123.5 91.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="60" y="0" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 30px; margin-left: 61px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font style="font-size: 18px;">
SortbyScore
</font>
</div>
</div>
</div>
</foreignObject>
<text x="120" y="34" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SortbyScore
</text>
</switch>
</g>
<path d="M 120 160 L 120 193.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 120 198.88 L 116.5 191.88 L 120 193.63 L 123.5 191.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="60" y="100" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 130px; margin-left: 61px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
int i,j,k,t
</div>
</div>
</div>
</foreignObject>
<text x="120" y="135" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
int i,j,k,t
</text>
</switch>
</g>
<path d="M 180 230 L 243.63 230" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 248.88 230 L 241.88 233.5 L 243.63 230 L 241.88 226.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 60 260 L 60 603.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 60 608.88 L 56.5 601.88 L 60 603.63 L 63.5 601.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="60" y="200" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 230px; margin-left: 61px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
i=0 to n-2
</div>
</div>
</div>
</foreignObject>
<text x="120" y="235" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
i=0 to n-2
</text>
</switch>
</g>
<rect x="190" y="200" width="60" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 220px; margin-left: 220px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
next
<br/>
</div>
</div>
</div>
</foreignObject>
<text x="220" y="225" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
next
</text>
</switch>
</g>
<path d="M 310 260 L 310 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 310 308.88 L 306.5 301.88 L 310 303.63 L 313.5 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="250" y="200" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 230px; margin-left: 251px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
k=i
</div>
</div>
</div>
</foreignObject>
<text x="310" y="235" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
k=i
</text>
</switch>
</g>
<path d="M 370 340 L 433.63 340" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 438.88 340 L 431.88 343.5 L 433.63 340 L 431.88 336.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 310 370 L 310 523.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 310 528.88 L 306.5 521.88 L 310 523.63 L 313.5 521.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="250" y="310" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 340px; margin-left: 251px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
j = i + 1 to n-1
</div>
</div>
</div>
</foreignObject>
<text x="310" y="345" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
j = i + 1 to...
</text>
</switch>
</g>
<rect x="370" y="310" width="60" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 330px; margin-left: 400px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
next
<br/>
</div>
</div>
</div>
</foreignObject>
<text x="400" y="335" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
next
</text>
</switch>
</g>
<path d="M 524 364 L 585.5 425.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 589.21 429.21 L 581.78 426.73 L 585.5 425.5 L 586.73 421.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 476 364 L 404.5 435.5" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 400.79 439.21 L 403.27 431.78 L 404.5 435.5 L 408.22 436.73 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 500 300 L 560 340 L 500 380 L 440 340 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 340px; margin-left: 441px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
比较
</div>
</div>
</div>
</foreignObject>
<text x="500" y="345" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
比较
</text>
</switch>
</g>
<rect x="555" y="360" width="30" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 380px; margin-left: 570px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
T
</div>
</div>
</div>
</foreignObject>
<text x="570" y="385" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
T
</text>
</switch>
</g>
<path d="M 570 460 L 426.37 460" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 421.12 460 L 428.12 456.5 L 426.37 460 L 428.12 463.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="570" y="430" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 460px; margin-left: 571px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
k = j
</div>
</div>
</div>
</foreignObject>
<text x="630" y="465" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
k = j
</text>
</switch>
</g>
<rect x="405" y="360" width="30" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 380px; margin-left: 420px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
F
</div>
</div>
</div>
</foreignObject>
<text x="420" y="385" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
F
</text>
</switch>
</g>
<ellipse cx="400" cy="460" rx="20" ry="20" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 380 460 L 330 460 L 330.04 380.27" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330.04 373.52 L 334.54 382.52 L 330.04 380.27 L 325.54 382.52 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 350 570 L 473.63 570" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 478.88 570 L 471.88 573.5 L 473.63 570 L 471.88 566.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 270 570 L 156.37 570" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 151.12 570 L 158.12 566.5 L 156.37 570 L 158.12 573.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 310 530 L 350 570 L 310 610 L 270 570 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 570px; margin-left: 271px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
k!=i
</div>
</div>
</div>
</foreignObject>
<text x="310" y="575" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
k!=i
</text>
</switch>
</g>
<rect x="385" y="530" width="30" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 550px; margin-left: 400px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
T
</div>
</div>
</div>
</foreignObject>
<text x="400" y="555" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
T
</text>
</switch>
</g>
<path d="M 600 570 L 703.63 570" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 708.88 570 L 701.88 573.5 L 703.63 570 L 701.88 566.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 540 600 L 540 663.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 540 668.88 L 536.5 661.88 L 540 663.63 L 543.5 661.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="480" y="540" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 570px; margin-left: 481px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 to m-1
</div>
</div>
</div>
</foreignObject>
<text x="540" y="575" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
t=0 to m-1
</text>
</switch>
</g>
<rect x="620" y="540" width="60" height="40" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 560px; margin-left: 650px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
next
</div>
</div>
</div>
</foreignObject>
<text x="650" y="565" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
next
</text>
</switch>
</g>
<path d="M 710 585 L 606.37 585" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 601.12 585 L 608.12 581.5 L 606.37 585 L 608.12 588.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="710" y="540" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 570px; margin-left: 711px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
交换分数
</div>
</div>
</div>
</foreignObject>
<text x="770" y="575" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
交换分数
</text>
</switch>
</g>
<path d="M 540 730 L 540 773.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 540 778.88 L 536.5 771.88 L 540 773.63 L 543.5 771.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="480" y="670" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 700px; margin-left: 481px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
交换总分
</div>
</div>
</div>
</foreignObject>
<text x="540" y="705" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
交换总分
</text>
</switch>
</g>
<path d="M 540 840 L 540 883.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 540 888.88 L 536.5 881.88 L 540 883.63 L 543.5 881.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="480" y="780" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 810px; margin-left: 481px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
交换平均分
</div>
</div>
</div>
</foreignObject>
<text x="540" y="815" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
交换平均分
</text>
</switch>
</g>
<path d="M 540 950 L 540 983.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 540 988.88 L 536.5 981.88 L 540 983.63 L 543.5 981.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="480" y="890" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 920px; margin-left: 481px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
交换学号
</div>
</div>
</div>
</foreignObject>
<text x="540" y="925" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
交换学号
</text>
</switch>
</g>
<rect x="480" y="990" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 1020px; margin-left: 481px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
交换姓名
</div>
</div>
</div>
</foreignObject>
<text x="540" y="1025" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
交换姓名
</text>
</switch>
</g>
<path d="M 480 1020 L 150 1020 L 150 267.87" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 150 261.12 L 154.5 270.12 L 150 267.87 L 145.5 270.12 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="610" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 640px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
return
</div>
</div>
</div>
</foreignObject>
<text x="60" y="645" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="18px" text-anchor="middle">
return
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 36 KiB

@ -1,8 +0,0 @@
选择菜单命令 1 假设n=4,m=3,提示输入学生的学号,姓名和成绩,然后利用循环逐个输入学生的学号和姓名以及各科成绩。
请输入你的选择1
输入学生的学号,名字和成绩:
2214111018 李玉璇 100 95 86
2214111038 张桐桐 77 89 99
2214111026 孟婷玉 85 91 98
2214111022 周羽凡 75 89 100

@ -1,24 +0,0 @@
//4 函数功能按选择法将数组sum的元素值排序
void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b))
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
k = i;
for (j=i+1; j<n; j++)
{
if ((*compare)(stu[j].sum, stu[k].sum)) k = j;
}
if (k != i)
{
for (t=0; t<m; t++) // 交换m门课程的成绩
{
SwapFloat(&stu[k].score[t], &stu[i].score[t]);
}
SwapFloat(&stu[k].sum, &stu[i].sum); // 交换总分
SwapFloat(&stu[k].aver, &stu[i].aver); // 交换平均分
SwapLong(&stu[k].num, &stu[i].num); // 交换学号
SwapChar(stu[k].name, stu[i].name); // 交换姓名
}
}
}

@ -1,4 +0,0 @@
Step 1:利用 for 循环给 i 赋值为0
Step 2:利用 if 条件判断学号是否致
Step 3:利用二次循环找出所有符合条件件的学
Step 4:利用 i 件语句能否找到该学生

@ -1,3 +0,0 @@
step 1:利用for循环将相邻的两个姓名作比较
step 2:如果前一个字符串大于后一个利用for循环交换m门课程的成绩
step 3:依次交换

16
c7.md

@ -1,16 +0,0 @@
c7学生总分排序
如果a < b, 4sum
如果a > b则按降序排序。选择菜单命令 5按选择法将数组sum的元素值按降序进行排序显示提示信息最后打印出学生成绩。
请输入你的选择: 4
按分数降序排序:
2214111038 ZhangTongtong 100 95 86 281 93
2214111018 LiYuxuan 85 91 98 274 91
2214111026 MengTingyu 77 89 99 265 88
2214111022 ZhouYufan 75 89 100 264 88
请输入你的选择: 5
按分数升序排列:
2214111022 ZhouYufan 75 89 100 264 88
2214111026 MengTingyu 77 89 99 265 88
2214111018 LiYuxuan 85 91 98 274 91
2214111038 ZhangTongtong 100 95 86 281 93

@ -1,4 +0,0 @@
Step 1:利用for循环给i赋值为0
Step 2:利用if条件判断学号是否一致
Step 3:利用二次循环找出所有符合条件的学生
Step 4利用if条件语句能否找到该学生

@ -1,9 +0,0 @@
c8学号顺序排序
选择菜单命令 6按学号从小到大进行排序显示提示信息最后打印学生信息。
请输入你的选择: 6
按学号降序排列:
2214111018 LiYuxuan 85 91 98 274 91
2214111022 ZhouYufan 75 89 100 264 88
2214111026 MengTingyu 77 89 99 265 88
2214111038 ZhangTongtong 100 95 86 281 93

@ -1,2 +0,0 @@
Step 1:利用for循环给i赋值为0
Step 2:利用of条件语句和循环判断是否此学生并显示结果

@ -1,9 +0,0 @@
C9: 姓名顺序排序
选择菜单命令 7 ,按姓名的字典顺序进行排序,显示提示信息,最后打印学生信息。
请输入你的选择: 7
按名称按字典顺序排序:
2214111018 LiYuxuan 75 89 100 264 88
2214111022 ZhouYufan 77 89 99 265 88
2214111026 MengTingyu 100 95 86 281 93
2214111038 ZhangTongtong 85 91 98 274 91

@ -1,8 +0,0 @@
// 9交换两个字符串
void SwapChar(char x[], char y[])
{
char temp[MAX_LEN];
strcpy(temp, x);
strcpy(x, y);
strcpy(y, temp);
}

@ -1,343 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="471px" height="1127px" viewBox="-0.5 -0.5 471 1127" content="&lt;mxfile&gt;&lt;diagram id=&quot;A5GCk3qJTjUgkphzyPaP&quot; name=&quot;第 1 页&quot;&gt;5Vvdc5s4EP9rPHN9iAcQCPyYOOndPdxdZ3Iz1z4qRjGkgDxCju3+9ScZgdGHbRoDbtMXgjb6YHd/u9pdyRMwz7e/U7RK/iIxziaeE28n4H7ieVEY8acg7CqCGwWzirKkaSxpB8Jj+g1LoiOp6zTGpdKREZKxdKUSF6Qo8IIpNEQp2ajdnkmmrrpCS2wQHhcoM6n/pTFLJF9eeKD/gdNlUq/sQslfjurOkpMyQTHZtEjgYQLmlBBWveXbOc6E8Gq5VOM+Hvlv82EUF6zLAB9WI15RtpbMyQ9ju5pbHHPmZbMgBf9zl7A84y2Xv1bdRZ+jnyBJJVnThewFpNYQXWLZyw8a/jlwMMkxozveh+IMsfRVnR5JDS6bfgcm+Yvk084zMFh+JJQ97f5GOTaYp2RdxDiWzG6SlOHHFdqzseHgtsniFVOGt6elYbJZD4ASGdI2boBsbw5Ac31JS1ogq8ddIpkrgSE0wTAbCQuhwfGfBcNLTEUfg3lurSvxuqJkgcvyPCCe0OLrcg+hf9YsS4W49nQVVX3AJlRh08CoDRtvINiEs+vgZmbiJvBGAo7J8gE4Lz8xcLxgROD4pvmNApxqq1GRE44EnHptK3LYT4ycMT1ODdKxgXOxe5FDP5GUr9KI0neAIkrfidQpKqDKUZqYms/oJjn3Uslx+dDdZ95wpkHd/CKadeN+q7R2svVDSdwDkbpfOhAMJnLPEPnLXiYia+GP4sZUAU1I/rTuYO4DmLWKRRAB066Bxa6DPuzajM0HsuvxbbhCtQGo8xMNiEx/PDfa3muhM44KfNBJBW+R3JVSpXrzVKQ5VuIcXClcuy7T0a/I9MUZXRMl3DhTFypxwpSL9HSosG99wjTlH87j4kviB5sYqx2u/5hC2zmDjo77llK0a3VbiQ7l8XWA7uZmQNNtNeNbfRs0g2tWxyvikd+4BhjqNCXBW7QkBVfXqqU+SW006p2Pa57TLa4rv6JdfsVskUgo9B70AF8NB/3QEvQ4lqDH76PqZobkjPI3D2ZMJHQ8MYRL1jDakjpnmKliQ1m65NK/X3DGhejvhFjSBcpu5T/yNI7F8DuKy/QbetpPJWQqUcfnDe4mwb2Ya81I2dIAo+QrnpOM0IPFP6dZppH6UIenxaD1iUFLHbYaKOhDG2a0/lbX50yhp6RI7hm/193FjRFN+aoSoDuMOwsC+zpH42MXnuqvur+zqxlOur8YEY4YXStbnqW6Bccqb0GzvPW4QauPGUHsN+7IUC4cffUs2Zo7m5R7m2m5zife3ObyToz4cHQburhaNvB2o/k36Fm2GzjUIc+1UhfLMQ8c65wHmqnLMLBEHBjvBpehY+67w+HyWomW5RgpvLRG1JlpM9Hqgsviu3FZvCN3GdpKkkPBMrz4qKEVD0a+mgmDETPh0BI6DpQJA6gqzHUGih31il+zUF+5cGjmZsI+5wmi3LLa9rW/PGIxyarPS9MnuH8vZhiNaoZ9pmVhFCpp2dSBI9qh5e5TeGl4fqQipdnhLBjGDPV1+jfDDudCtRVt0G7/vbo9yFIGrGsdmD684qrk4VrrH+3aRoyf0Xpv2XrdhBKGWLuO0gJJVYVpweauLNDqX1KJb6ADPG+mK8Mx7dR2MO/1YaZmzvtQxIauzvi3Yf2YF2l3pRwQmI5ssMtSZoJciDKeLqL3WtvzA63UCs0cIxiotheaqW8sGPtVZK+XuQNLfjeY7M0M/L2fKriwy6lCYMq7j1OF8OJ0Gm9T9rn1Lg/vZOsQKInGIU6Kb8UFex22vZx+9pKsfHd5Wrvm5s8cTQ2nys2+frA061ZuPl+37phRvaVubbkgf7omwbhj+9C9ILFPhsoFoViOPWr4P3hGFLiOXSnnAok33JXizcPPQiqtHn5cAx7+Bw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 70 60 L 70 83.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 88.88 L 66.5 81.88 L 70 83.63 L 73.5 81.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="0" width="140" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 30px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SortbyName
</div>
</div>
</div>
</foreignObject>
<text x="70" y="34" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SortbyName
</text>
</switch>
</g>
<path d="M 70 250 L 70 273.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 278.88 L 66.5 271.88 L 70 273.63 L 73.5 271.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="10" y="190" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 22 190 L 22 250 M 118 190 L 118 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 220px; margin-left: 24px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer i
</div>
</div>
</div>
</foreignObject>
<text x="71" y="224" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer i
</text>
</switch>
</g>
<path d="M 71.88 340 L 76.08 407.23" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 76.4 412.47 L 72.47 405.7 L 76.08 407.23 L 79.46 405.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="10" y="280" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 22 280 L 22 340 M 118 280 L 118 340" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 310px; margin-left: 24px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer j
</div>
</div>
</div>
</foreignObject>
<text x="71" y="314" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer j
</text>
</switch>
</g>
<path d="M 70 150 L 70 183.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 188.88 L 66.5 181.88 L 70 183.63 L 73.5 181.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="10" y="90" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 22 90 L 22 150 M 118 90 L 118 150" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 120px; margin-left: 24px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer t
</div>
</div>
</div>
</foreignObject>
<text x="71" y="124" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer t
</text>
</switch>
</g>
<path d="M 143 438 L 236.63 438" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 241.88 438 L 234.88 441.5 L 236.63 438 L 234.88 434.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 78 463 L 78 1086.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 78 1091.88 L 74.5 1084.88 L 78 1086.63 L 81.5 1084.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 45.5 425.5 L 68.67 416.59 Q 78 413 87.33 416.59 L 133.67 434.41 Q 143 438 133.67 441.59 L 87.33 459.41 Q 78 463 68.67 459.41 L 22.33 441.59 Q 13 438 22.33 434.41 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 438px; margin-left: 14px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
j=0 to n-2
</div>
</div>
</div>
</foreignObject>
<text x="78" y="442" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
j=0 to n-2
</text>
</switch>
</g>
<path d="M 243 438 L 243 486.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 243 491.88 L 239.5 484.88 L 243 486.63 L 246.5 484.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 243 473 L 240.63 496.66" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 240.11 501.89 L 237.33 494.57 L 240.63 496.66 L 244.29 495.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 238.63 543 L 241.86 646.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 242.03 651.88 L 238.31 645 L 241.86 646.64 L 245.31 644.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 238.63 543 L 241.86 646.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 242.03 651.88 L 238.31 645 L 241.86 646.64 L 245.31 644.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 238.63 543 L 241.86 646.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 242.03 651.88 L 238.31 645 L 241.86 646.64 L 245.31 644.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 188 523 L 153 523 Q 143 523 143 533 L 143 1036.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 143 1041.88 L 139.5 1034.88 L 143 1036.63 L 146.5 1034.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 198 513 L 203 508 Q 208 503 218 503 L 258 503 Q 268 503 275.07 510.07 L 281.54 516.54 Q 288 523 280.93 530.07 L 274.46 536.54 Q 268 543 258 543 L 218 543 Q 208 543 200.93 535.93 L 194.46 529.46 Q 188 523 193 518 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 523px; margin-left: 189px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 t0 m-1
</div>
</div>
</div>
</foreignObject>
<text x="238" y="527" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
t=0 t0 m-1
</text>
</switch>
</g>
<rect x="163" y="408" width="40" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 423px; margin-left: 183px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
true
<br/>
</div>
</div>
</div>
</foreignObject>
<text x="183" y="427" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
true
</text>
</switch>
</g>
<path d="M 393 593 L 393 633 Q 393 643 383 643 L 266 643 Q 256 643 255.45 633.02 L 250.85 549.36" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 250.56 544.12 L 254.44 550.91 L 250.85 549.36 L 247.45 551.3 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 243 713 L 243 731.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 243 736.88 L 239.5 729.88 L 243 731.63 L 246.5 729.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="163" y="653" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 179 653 L 179 713 M 307 653 L 307 713" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 125px; height: 1px; padding-top: 683px; margin-left: 180px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].sum,
<br/>
&amp;stu[i].sum)
</div>
</div>
</div>
</foreignObject>
<text x="243" y="687" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].sum...
</text>
</switch>
</g>
<path d="M 243 798 L 243 806.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 243 811.88 L 239.5 804.88 L 243 806.63 L 246.5 804.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="163" y="738" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 179 738 L 179 798 M 307 738 L 307 798" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 125px; height: 1px; padding-top: 768px; margin-left: 180px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].sum,
<br/>
&amp;stu[i].aver)
</div>
</div>
</div>
</foreignObject>
<text x="243" y="772" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].sum...
</text>
</switch>
</g>
<path d="M 243 873 L 243 906.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 243 911.88 L 239.5 904.88 L 243 906.63 L 246.5 904.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="163" y="813" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 179 813 L 179 873 M 307 813 L 307 873" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 125px; height: 1px; padding-top: 843px; margin-left: 180px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].num,
<br/>
&amp;stu[i].num)
</div>
</div>
</div>
</foreignObject>
<text x="243" y="847" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].num...
</text>
</switch>
</g>
<path d="M 243 973 L 243 1033 Q 243 1043 233 1043 L 149.37 1043" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 144.12 1043 L 151.12 1039.5 L 149.37 1043 L 151.12 1046.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="163" y="913" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 179 913 L 179 973 M 307 913 L 307 973" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 125px; height: 1px; padding-top: 943px; margin-left: 180px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapChar[stu[i].name,
<br/>
stu[j].name]
</div>
</div>
</div>
</foreignObject>
<text x="243" y="947" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapChar[stu[i].name,...
</text>
</switch>
</g>
<path d="M 143 1043 L 113 1043 Q 103 1043 102.75 1033 L 90.79 551.77" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90.66 546.52 L 94.34 553.43 L 90.79 551.77 L 87.34 553.6 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="143" cy="1043" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="133" y="1033" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<rect x="120" y="1065" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 1095px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
End
</div>
</div>
</div>
</foreignObject>
<text x="180" y="1099" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
End
</text>
</switch>
</g>
<rect x="298" y="498" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 513px; margin-left: 323px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
next
</div>
</div>
</div>
</foreignObject>
<text x="323" y="517" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
next
</text>
</switch>
</g>
<rect x="188" y="538" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 553px; margin-left: 213px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
done
</div>
</div>
</div>
</foreignObject>
<text x="213" y="557" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
done
</text>
</switch>
</g>
<path d="M 18 513 L 23 508 Q 28 503 38 503 L 83 503 Q 93 503 100.07 510.07 L 106.54 516.54 Q 113 523 105.93 530.07 L 99.46 536.54 Q 93 543 83 543 L 38 543 Q 28 543 20.93 535.93 L 14.46 529.46 Q 8 523 13 518 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 103px; height: 1px; padding-top: 523px; margin-left: 9px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 t0 m-1
</div>
</div>
</div>
</foreignObject>
<text x="61" y="527" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
t=0 t0 m-1
</text>
</switch>
</g>
<path d="M 288 523 L 400 520.25 Q 410 520 410 530 L 410 543" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="350" y="543" width="120" height="50" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 362 543 L 362 593 M 458 543 L 458 593" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 568px; margin-left: 364px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[t]),
<br/>
&amp;stu[j].score[t]
</div>
</div>
</div>
</foreignObject>
<text x="411" y="572" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[t...
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 31 KiB

@ -1,371 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="798px" height="1231px" viewBox="-0.5 -0.5 798 1231" content="&lt;mxfile&gt;&lt;diagram id=&quot;612h_wNI_kF7_eB8mIOG&quot; name=&quot;第 1 页&quot;&gt;5Vtbc+MmFP4tffBM+5CMBEKXx42TtvvQ3Z1JZ7Z9xBaxtZGEB6E43l9fJIF1ATvOGktJ98lwhC58fHznHMAzOM+e/2B4s/6LxiSdASd+nsHbGQCu53jip7LsGgsAAWwsK5bEslVruE++E2l0pLVMYlL0GnJKU55s+sYlzXOy5D0bZoxu+80eaNp/6waviGa4X+JUt35NYr5urCEIWvufJFmt1ZtdP2quZFg1lj0p1jim244J3s3gnFHKm1L2PCdphZ7Cpbnv9wNX9x/GSM5PuUGOxBNOS9k3+V18pzpLYtF3Wc1pLn5u1jxLRc0VxaZ51ebgF0hTQUu2lK3kWzhmKyJbwX3vBW8IzQhnO9GEkRTz5Kn/dCzHb7Vv13ZRFGQvzT0GWo/vCWbL9WL3qcxmwE/F99wsmCitqtKvH3NOVkTUnXwG5lWNNdXsNw0qRss8JrGEZrtOOLnf4LrTWzEVTMg9EcbJ83HsdFTUDb6kkZxIV2qCbFtWiunW2NYdRqr7zgHSn4Y6UKcOGok6UOtxhxxltqgKAwTE/N5UxQ2jS1IUL7NigZePq5pHn0ueJhVmtb1PLRvcCfrcCQzUAReiTjgNdZBOnWAk6qAj1EneMWv2CjQGbZS6jc2bQOdNNBJvgiO8+faOeQPQmLzRff4ovIl03rgHYLJOnEjr8udyU3Jh+pg3v3xNOn5rGPfsaFmNDs7rprT+xKIOlA6zDjOcpiSlK4Yz8YgNYYn4bvH0wbUv7YWXCPqQPBOVAFyGmIMQCnoGYqJLEXOiGMpVSVOXmWNFUerlnU4n4kfRcgZQ/D+jWIB6FPPAidrn2aDYRLGWawi23HOjrfrWD4zhXafBhiY5LzpP/lIZWvg90Icfuc4AwOaJLZz7TzsNYT22q/jsKN3Mr1wNcbam2aI8wUFf3BF74YiOGEwUwLmGCM49N4T7ITIO4fctk1EB+hYQPsTEyyLsg8si7OohecHLGbpJZuj2Oq/WkJzKXF05tCow3fTfhzdKDE35W2CY/q5jYf57ulSOw05DJO55U7AToj7+UWSXnZ4e978SYYEj2/0jKlfOtRNGyvJv5dKukarePtcuTtV23Von9qqNFsfMtzFmuiijUHQVhhBAiCCIoN8bI9eB0bUndCQIQs+Drora1QuaL5TPbMfytdQ4zoyXmruOZSa5OpOSnrS9IVWLBtApnRlF1Axre6OIGjAkceBcUTu503oS97nkMoND87dEDjSYKb4pw4cGdoQ2yKHvGXAmSkN4RPd4HwecJqtclJckb9LYCoRkidMP8kKWxHF1+w0jRfIdL+pHVXorhUY8F92ImKR6Vslp0Wa4BWf0kcxpSlnLx4ckTQcmG+C7g3gj0KemaYMK2sBej9TGmZieYWKe67lO3qOaKMUydnqSFCsI+5RTdWsplr5n/k06RuDss/7sTWX9Qw0MxtRAeHZM+oOU9HVKwnAsB6kv7b4XBxmZThFczEHq65NxNf4/jYMcLA6Hju4gTdsPNhwkBOdOzH2y6Fz7wd7Q5IqhB8bLFk17bWcHwwcWmAZLKOFwGljKB4d+LAyPJ4Q+DI61P9/v6TL+5v1eMAg/TbPLKG0IWZhep2y9pGmyKcgE0PhOHxrXMWxLqdy2Cw2woDxoonOHnun02FgnDz09F1wwgh9/Gl/nu31f5zrueM7Omygb9AyJkZ11zNevPQ/ht734rM9q2ol5k/wTrYoPlZT9YgyCxxZBEGmMHHFvHumLaONQ0pAYIccMlH0VPOHMizruscW7mtSVTD0SvlxLUZPy5St9I+zuiTQy5xo1r6tnMXnAZX3aaaiVjHLMu9rZCU0b5e0eKylyvPmbNnPsUvT0hz7asFtvYqcVH62vJN3l8WunbG/c7AM0iO/cUc+joqnOMRuimInO1sAhQaFdl4L0mGlctZBjZlsqLHAfnRTA2xEHUW3/k9QMY/vXLnj3Hw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 187 60 L 187 73.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 187 78.88 L 183.5 71.88 L 187 73.63 L 190.5 71.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="117" y="0" width="140" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 30px; margin-left: 118px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SearchbyNum
<br/>
(Integer n,Interger m)
</div>
</div>
</div>
</foreignObject>
<text x="187" y="34" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SearchbyNum...
</text>
</switch>
</g>
<path d="M 187 140 L 187 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 187 168.88 L 183.5 161.88 L 187 163.63 L 190.5 161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="127" y="80" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 139 80 L 139 140 M 235 80 L 235 140" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 110px; margin-left: 140px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer number
</div>
</div>
</div>
</foreignObject>
<text x="187" y="114" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer number
</text>
</switch>
</g>
<path d="M 187 230 L 187 253.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 187 258.88 L 183.5 251.88 L 187 253.63 L 190.5 251.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="127" y="170" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 139 170 L 139 230 M 235 170 L 235 230" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 200px; margin-left: 140px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer i
</div>
</div>
</div>
</foreignObject>
<text x="187" y="204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer i
</text>
</switch>
</g>
<path d="M 188.67 320 L 189.98 343.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 190.27 348.88 L 186.39 342.09 L 189.98 343.64 L 193.38 341.7 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="127" y="260" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 139 260 L 139 320 M 235 260 L 235 320" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 290px; margin-left: 140px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer j
</div>
</div>
</div>
</foreignObject>
<text x="187" y="294" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer j
</text>
</switch>
</g>
<path d="M 192 410 L 192 423.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 192 428.88 L 188.5 421.88 L 192 423.63 L 195.5 421.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 182 410 L 127 410 Q 117 410 120.16 400.51 L 133.84 359.49 Q 137 350 147 350 L 257 350 Q 267 350 263.84 359.49 L 250.16 400.51 Q 247 410 237 410 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 380px; margin-left: 118px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Ouput Input the number
<br/>
you want to research
</div>
</div>
</div>
</foreignObject>
<text x="192" y="384" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Ouput Input the number...
</text>
</switch>
</g>
<path d="M 190.57 470 L 189.52 484.68" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 189.15 489.92 L 186.16 482.69 L 189.52 484.68 L 193.14 483.19 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 182 470 L 142 470 Q 132 470 136.47 461.06 L 147.53 438.94 Q 152 430 162 430 L 242 430 Q 252 430 247.53 438.94 L 236.47 461.06 Q 232 470 222 470 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 450px; margin-left: 133px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
i=Input %d
</div>
</div>
</div>
</foreignObject>
<text x="192" y="454" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
i=Input %d
</text>
</switch>
</g>
<path d="M 247 520 L 372 520 Q 382 520 382 530 L 382 563.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 382 568.88 L 378.5 561.88 L 382 563.63 L 385.5 561.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 157 505 L 178.06 494.47 Q 187 490 195.94 494.47 L 238.06 515.53 Q 247 520 238.06 524.47 L 195.94 545.53 Q 187 550 178.06 545.53 L 135.94 524.47 Q 127 520 135.94 515.53 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 520px; margin-left: 128px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
i=0 to n-1
</div>
</div>
</div>
</foreignObject>
<text x="187" y="524" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
i=0 to n-1
</text>
</switch>
</g>
<path d="M 297 620 L 137 620 Q 127 620 127.13 630 L 131.27 949.01" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 131.34 954.26 L 127.75 947.31 L 131.27 949.01 L 134.75 947.22 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 467 620 L 567 620 Q 577 620 576.29 629.97 L 575.19 645.33" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 574.82 650.57 L 571.82 643.34 L 575.19 645.33 L 578.81 643.84 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 339.5 595 L 373.38 575.07 Q 382 570 390.62 575.07 L 458.38 614.93 Q 467 620 458.38 625.07 L 390.62 664.93 Q 382 670 373.38 664.93 L 305.62 625.07 Q 297 620 305.62 614.93 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 620px; margin-left: 298px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
stu[i].num == number
</div>
</div>
</div>
</foreignObject>
<text x="382" y="624" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
stu[i].num == number
</text>
</switch>
</g>
<path d="M 213.06 1002.68 L 297 1000.29 Q 307 1000 307.86 1006.84 L 308.71 1013.68" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 309.36 1018.89 L 305.02 1012.38 L 308.71 1013.68 L 311.97 1011.51 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 52.41 1001.82 L 16.99 1000.4 Q 7 1000 7 1010 L 7 1090 Q 7 1100 17 1100 L 220.63 1100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 225.88 1100 L 218.88 1103.5 L 220.63 1100 L 218.88 1096.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 89.5 980 L 123.38 960.07 Q 132 955 140.62 960.07 L 208.38 999.93 Q 217 1005 208.38 1010.07 L 140.62 1049.93 Q 132 1055 123.38 1049.93 L 55.62 1010.07 Q 47 1005 55.62 999.93 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 1005px; margin-left: 48px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
i == n
</div>
</div>
</div>
</foreignObject>
<text x="132" y="1009" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
i == n
</text>
</switch>
</g>
<path d="M 572 730 L 572 743.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 572 748.88 L 568.5 741.88 L 572 743.63 L 575.5 741.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 539.5 670 L 563.48 655.24 Q 572 650 580.52 655.24 L 628.48 684.76 Q 637 690 628.48 695.24 L 580.52 724.76 Q 572 730 563.48 724.76 L 515.52 695.24 Q 507 690 515.52 684.76 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 690px; margin-left: 508px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Output \n
</div>
</div>
</div>
</foreignObject>
<text x="572" y="694" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Output \n
</text>
</switch>
</g>
<rect x="467" y="585" width="40" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 600px; margin-left: 487px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
true
</div>
</div>
</div>
</foreignObject>
<text x="487" y="604" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
true
</text>
</switch>
</g>
<path d="M 572 830 L 572 913.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 572 918.88 L 568.5 911.88 L 572 913.63 L 575.5 911.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 637 790 L 727 790 Q 737 790 736.06 799.86 L 735.12 809.73" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 734.62 814.95 L 731.8 807.65 L 735.12 809.73 L 738.77 808.32 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 539.5 770 L 563.48 755.24 Q 572 750 580.52 755.24 L 628.48 784.76 Q 637 790 628.48 795.24 L 580.52 824.76 Q 572 830 563.48 824.76 L 515.52 795.24 Q 507 790 515.52 784.76 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 790px; margin-left: 508px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
j = 0 to m-1
</div>
</div>
</div>
</foreignObject>
<text x="572" y="794" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
j = 0 to m-1
</text>
</switch>
</g>
<path d="M 570.74 999.22 L 569.95 1023.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 569.79 1028.88 L 566.51 1021.78 L 569.95 1023.64 L 573.51 1022 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 539.5 940 L 563.48 925.24 Q 572 920 580.52 925.24 L 628.48 954.76 Q 637 960 628.48 965.24 L 580.52 994.76 Q 572 1000 563.48 994.76 L 515.52 965.24 Q 507 960 515.52 954.76 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 960px; margin-left: 508px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Output \n
</div>
</div>
</div>
</foreignObject>
<text x="572" y="964" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Output \n
</text>
</switch>
</g>
<rect x="532" y="815" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 830px; margin-left: 557px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
done
</div>
</div>
</div>
</foreignObject>
<text x="557" y="834" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
done
</text>
</switch>
</g>
<path d="M 734.77 868.83 L 735.95 880.05 Q 737 890 727 890 L 604 890 Q 594 890 594.03 880 L 594.21 823.73" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 594.23 818.48 L 597.7 825.49 L 594.21 823.73 L 590.7 825.47 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 699.5 828.75 L 722.79 818.9 Q 732 815 741.21 818.9 L 787.79 838.6 Q 797 842.5 787.79 846.4 L 741.21 866.1 Q 732 870 722.79 866.1 L 676.21 846.4 Q 667 842.5 676.21 838.6 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 843px; margin-left: 668px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
j = 0 to m-1
</div>
</div>
</div>
</foreignObject>
<text x="732" y="846" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
j = 0 to m-1
</text>
</switch>
</g>
<ellipse cx="569.5" cy="1040" rx="12.5" ry="10" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 572 1040 L 473.37 1040" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 468.12 1040 L 475.12 1036.5 L 473.37 1040 L 475.12 1043.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="572" y="1025" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 1040px; margin-left: 597px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
break
</div>
</div>
</div>
</foreignObject>
<text x="597" y="1044" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
break
</text>
</switch>
</g>
<path d="M 312 1060 L 312 1090 Q 312 1100 302 1100 L 233.37 1100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 228.12 1100 L 235.12 1096.5 L 233.37 1100 L 235.12 1103.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="252" y="1020" width="120" height="40" rx="6" ry="6" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 1040px; margin-left: 253px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
output \inNot found!\n
</div>
</div>
</div>
</foreignObject>
<text x="312" y="1044" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
output \inNot found!...
</text>
</switch>
</g>
<path d="M 227 1100 L 227 1163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 227 1168.88 L 223.5 1161.88 L 227 1163.63 L 230.5 1161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="227" cy="1100" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="217" y="1090" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<rect x="167" y="1170" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 1200px; margin-left: 168px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
End
</div>
</div>
</div>
</foreignObject>
<text x="227" y="1204" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
End
</text>
</switch>
</g>
<path d="M 467 1040 L 397 1040 Q 387 1040 386.88 1030 L 382.67 676.02" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 382.6 670.77 L 386.19 677.73 L 382.67 676.02 L 379.19 677.81 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="467" cy="1040" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="457" y="1030" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 35 KiB

@ -1,344 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="446px" height="981px" viewBox="-0.5 -0.5 446 981" content="&lt;mxfile&gt;&lt;diagram id=&quot;gc9taPY4nGlO9ka04d7L&quot; name=&quot;第 1 页&quot;&gt;5VtRc6M2EP41nuk9xAMIYfwYO7lrH9reTDrTu0fFKIYEkEfIsX2/vgKEDZIcY4NwffdC0FoC7bffrlYrMgLzZPuFolX4JwlwPHKsYDsCDyPHmVgOv+aCXSmAUAiWNApKkX0QPEU/sBBaQrqOApw1OjJCYhatmsIFSVO8YA0ZopRsmt1eSNx86wotsSJ4WqBYlf4bBSwspb4zOch/x9EyrN5se9PylwRVnYUmWYgCsqmJwOMIzCkhrLxLtnMc59hVuJTjPh/5dT8xilPWZoBbDnhH8VroJubFdpWyOOC6i2ZKUv5nFrIk5i2b36ovFHPIyJouxCPEQxmiSyx6gVKUP7w2TEzyCyYJZnTHO1AcIxa9N4FHwn7Lfb+DivxGaKnX2FE0vs+eCGXPu79QghXtKVmnAQ6EtpswYvhphQrFNpzbLcF4x5Th7YeKil/3HBeuURFlc+CZXcnCGsdcqzs03iBkACoZ4LXIABSN/0gZXmKa91GU5866ym9XlCxwlp3mwzNavC0LBv29ZnGUw1XIm6TqgzVOkzVTDWssDWtAD6zxu7KGq01333jDGsOq+T1vVo2HbaO1E61WbIMq26Z9s00M/UoiPpGDTSZNm9ieBHY5JzFKwns/jVYmgFoa05LHrzfMYxsOSGRbXRpMxL+pykjbvlYAnH7EHHbDzNmvo4Mwp3MMbMWc/mmij1yuK2HpQ2ORy+6KXLfVQ4KytQnq3usCQ+sHbFjBl1O8/qxgq1Z4LWDK91X8kt6pVqEhSZ7XLUJA/64up8iextWBxtVhD65ehRkDrn51ty6JrhDq5IOAOWZW6BqAu+7C1zIBcKxWJrgEOXVpPzeybiP2rXb//RBkeesQVvPGWTm51gK+EQvcU4p2tQ6rHNnsuIHgVDLQxJLsUD7xUquAzuvdxQhXEXH4JBP2VFg4d7E+jsIQSk9+QaW9zqvjPp27s8a210joxtA/kdMVra+YRnzifAfTJdHTwWhDI4sCkPIZt+Vyem5sA/Li03Nsc9TYxqosMr8kd7ZChmpDGeItWpKUm2tVM5+Q7i3qnM42X6Itrk4M8nb2htkiFFToPRUFfjNHB23rFX2Uax01wjDK7xwvZvnWm2/hvSXbK1pDnWvHmrChOFpy9B8WOC2gn+UYRAsU34sfkigI8uEzirPoB3ouHpVjKljHnwtnI/iQP2vNSFazAKPkDc9JTOjB41+iOJZEfZjDkzJcCBVzuIZqAG7nRa62k/Wcxl7WPhH3LgxxvhriTOW9vhTipmZCnJy+Ve85upOB4KP+3UOiWhh62qDV55gg9ht3T5Tk4au8ZmzNXYhxH/o0cuY6L9Z0f+Xdx9mCUCzGHo2wnUt2ZiMpBNLipDvC0B189bGpB+o50Jm+28rhKhUbqZmjdd4hzr7UXO0EN6OCbOukPT2rEZ9ulZbyigItDS09DS3lw56LLKSe6xihpaOhpXs1WjoD0RJxFvw8vPTVTMccL3va2p7ipavhpXc1XqqfyrThZXo2L9OfKFx6utK8KVrCzuGyloH7brP2AAasPVQkH6D24FpNg/mGEnO58O33nGgDdfeVe+c8RJT7Vd27io+8NA5Zy6eLPrebSstOOBnSCb0+D3Qn/qSxDR5b3nBeaGs+HYJTI14IZC+UCxI9eaHj+0a90G4RgSsn2qBdMV3ZHUTlyKtKS5g+vuOywmRry031UlKAX9C6cGy5TEUJQ6xetqpxpCx61Vgzy1K0+oeU6Bk6xQbShtf3VS/V7XflE8OLalXqfvcxDRRTnYhuZqPYnkzVJ41uy4JAH1HMVTPcNK+Zygj9jwupCtIaexwF351KdW1X3V5ADfa9FFLVmlmQK/arYK+cKWi2dqawh+pHAzdwhNMJbsdqc4QDVbwvOMLhzcO/dpTr6+H/Y8Djfw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 65 40 L 65 63.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 65 68.88 L 61.5 61.88 L 65 63.63 L 68.5 61.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="5" y="0" width="120" height="40" rx="6" ry="6" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 20px; margin-left: 6px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AsSortbyName
</div>
</div>
</div>
</foreignObject>
<text x="65" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AsSortbyName
</text>
</switch>
</g>
<path d="M 65 100 L 65 123.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 65 128.88 L 61.5 121.88 L 65 123.63 L 68.5 121.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="15" y="70" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 25 70 L 25 100 M 105 70 L 105 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 85px; margin-left: 26px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer i
</div>
</div>
</div>
</foreignObject>
<text x="65" y="89" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer i
</text>
</switch>
</g>
<path d="M 65 160 L 65 183.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 65 188.88 L 61.5 181.88 L 65 183.63 L 68.5 181.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="15" y="130" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 25 130 L 25 160 M 105 130 L 105 160" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 145px; margin-left: 26px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Interger j
</div>
</div>
</div>
</foreignObject>
<text x="65" y="149" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Interger j
</text>
</switch>
</g>
<path d="M 66.25 220 L 67.45 234.43" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 67.89 239.66 L 63.82 232.98 L 67.45 234.43 L 70.8 232.4 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="15" y="190" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 25 190 L 25 220 M 105 190 L 105 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 205px; margin-left: 26px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Interger t
</div>
</div>
</div>
</foreignObject>
<text x="65" y="209" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Interger t
</text>
</switch>
</g>
<path d="M 135 265 L 228.63 265" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 233.88 265 L 226.88 268.5 L 228.63 265 L 226.88 261.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 70 290 L 70 913.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 918.88 L 66.5 911.88 L 70 913.63 L 73.5 911.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 37.5 252.5 L 60.67 243.59 Q 70 240 79.33 243.59 L 125.67 261.41 Q 135 265 125.67 268.59 L 79.33 286.41 Q 70 290 60.67 286.41 L 14.33 268.59 Q 5 265 14.33 261.41 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 265px; margin-left: 6px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
j=0 to n-2
</div>
</div>
</div>
</foreignObject>
<text x="70" y="269" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
j=0 to n-2
</text>
</switch>
</g>
<path d="M 235 265 L 235 313.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 318.88 L 231.5 311.88 L 235 313.63 L 238.5 311.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 235 300 L 232.63 323.66" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 232.11 328.89 L 229.33 321.57 L 232.63 323.66 L 236.29 322.27 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 280 350 L 375 350 Q 385 350 385 356.82 L 385 363.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 385 368.88 L 381.5 361.88 L 385 363.63 L 388.5 361.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 230.63 370 L 233.86 473.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 234.03 478.88 L 230.31 472 L 233.86 473.64 L 237.31 471.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 230.63 370 L 233.86 473.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 234.03 478.88 L 230.31 472 L 233.86 473.64 L 237.31 471.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 230.63 370 L 233.86 473.64" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 234.03 478.88 L 230.31 472 L 233.86 473.64 L 237.31 471.78 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 180 350 L 145 350 Q 135 350 135 360 L 135 863.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 135 868.88 L 131.5 861.88 L 135 863.63 L 138.5 861.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 190 340 L 195 335 Q 200 330 210 330 L 250 330 Q 260 330 267.07 337.07 L 273.54 343.54 Q 280 350 272.93 357.07 L 266.46 363.54 Q 260 370 250 370 L 210 370 Q 200 370 192.93 362.93 L 186.46 356.46 Q 180 350 185 345 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 350px; margin-left: 181px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 t0 m-1
</div>
</div>
</div>
</foreignObject>
<text x="230" y="354" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
t=0 t0 m-1
</text>
</switch>
</g>
<rect x="155" y="235" width="40" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 250px; margin-left: 175px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
true
<br/>
</div>
</div>
</div>
</foreignObject>
<text x="175" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
true
</text>
</switch>
</g>
<path d="M 385 420 L 385 460 Q 385 470 375 470 L 258 470 Q 248 470 247.45 460.02 L 242.85 376.36" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 242.56 371.12 L 246.44 377.91 L 242.85 376.36 L 239.45 378.3 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="325" y="370" width="120" height="50" rx="7.5" ry="7.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 337 370 L 337 420 M 433 370 L 433 420" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 395px; margin-left: 338px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[t]),
<br/>
&amp;stu[j].score[t]
</div>
</div>
</div>
</foreignObject>
<text x="385" y="399" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[t...
</text>
</switch>
</g>
<path d="M 235 540 L 235 558.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 563.88 L 231.5 556.88 L 235 558.63 L 238.5 556.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="155" y="480" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 171 480 L 171 540 M 299 480 L 299 540" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 510px; margin-left: 172px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].sum,
<br/>
&amp;stu[i].sum)
</div>
</div>
</div>
</foreignObject>
<text x="235" y="514" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].sum...
</text>
</switch>
</g>
<path d="M 235 625 L 235 633.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 638.88 L 231.5 631.88 L 235 633.63 L 238.5 631.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="155" y="565" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 171 565 L 171 625 M 299 565 L 299 625" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 595px; margin-left: 172px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].sum,
<br/>
&amp;stu[i].aver)
</div>
</div>
</div>
</foreignObject>
<text x="235" y="599" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].sum...
</text>
</switch>
</g>
<path d="M 235 700 L 235 733.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 235 738.88 L 231.5 731.88 L 235 733.63 L 238.5 731.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="155" y="640" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 171 640 L 171 700 M 299 640 L 299 700" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 670px; margin-left: 172px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[i].num,
<br/>
&amp;stu[i].num)
</div>
</div>
</div>
</foreignObject>
<text x="235" y="674" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[i].num...
</text>
</switch>
</g>
<path d="M 235 800 L 235 860 Q 235 870 225 870 L 141.37 870" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 136.12 870 L 143.12 866.5 L 141.37 870 L 143.12 873.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="155" y="740" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 171 740 L 171 800 M 299 740 L 299 800" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 770px; margin-left: 172px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapChar[stu[i].name,
<br/>
stu[j].name]
</div>
</div>
</div>
</foreignObject>
<text x="235" y="774" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapChar[stu[i].name,...
</text>
</switch>
</g>
<path d="M 135 870 L 93 870 Q 83 870 82.99 860 L 82.64 378.77" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 82.64 373.52 L 86.14 380.52 L 82.64 378.77 L 79.14 380.52 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="135" cy="870" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="125" y="860" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<rect x="10" y="920" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 950px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
End
</div>
</div>
</div>
</foreignObject>
<text x="70" y="954" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
End
</text>
</switch>
</g>
<rect x="290" y="325" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 340px; margin-left: 315px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
next
</div>
</div>
</div>
</foreignObject>
<text x="315" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
next
</text>
</switch>
</g>
<rect x="180" y="365" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 380px; margin-left: 205px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
done
</div>
</div>
</div>
</foreignObject>
<text x="205" y="384" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
done
</text>
</switch>
</g>
<path d="M 10 340 L 15 335 Q 20 330 30 330 L 75 330 Q 85 330 92.07 337.07 L 98.54 343.54 Q 105 350 97.93 357.07 L 91.46 363.54 Q 85 370 75 370 L 30 370 Q 20 370 12.93 362.93 L 6.46 356.46 Q 0 350 5 345 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 103px; height: 1px; padding-top: 350px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 t0 m-1
</div>
</div>
</div>
</foreignObject>
<text x="53" y="354" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
t=0 t0 m-1
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 31 KiB

@ -1,329 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="541px" height="941px" viewBox="-0.5 -0.5 541 941" content="&lt;mxfile&gt;&lt;diagram id=&quot;d3ltryalfZtQszbHsCQg&quot; name=&quot;第 1 页&quot;&gt;7ZtLk6M2EIB/Sw6uyh52CxAP+zjjmd3kkGSrJlWbHGWQgTUgSshjO78+Eoin5DGe4VHenYuN2hKoW1/3dEvMAqzj4xcC0+AP7KFoYWjecQEeFobhaAb75IJTIdAdQy8kPgk9IasFT+F/SAg1Id2HHspaHSnGEQ3TttDFSYJc2pJBQvCh3W2Lo/ZTU+gjSfDkwkiWfgs9GhTSpeHU8t9Q6Aflk3V7VfwSw7Kz0CQLoIcPDRF4XIA1wZgWV/FxjSJuvNIuxbjPZ36tJkZQQvsMEPN6htFe6CbmRU+lsshjuotmghP2dR/QOGItnV0W3XmfszMQogzvidtZSAqJj8puRqU/AwfhGFFyYn0IiiANn9v3h2IF/apfrSS7EHqeMZImKX2XPWFCN6c/97GkP8H7xEOe0PcQhBQ9pTDX5MDwVpnjGRGKji8bRFZUDKjmJ7zjY9k+1KjpJT9BAzNTG8A2+kxAGAogzKmAMCSlf08o8hHhnST9mc+m/DIl2EVZdhmKDXR3fo7RX3sahdxiubxN1hDoGG10bAU5moIcMAQ5YCZyTAU59lTkmEpySIHO9xtGR1dFndHYsWZix1aws5yKHfsldna3zM6kcceZiZ2lzM45Ow3PzvIldugNs2NMGndmSn+roqXJDpiIHUNOf+dT2ppKaTmv3bGvX+TsjgQ43ux7uMjwrtBJ/JXpG1C4gjWAK5QQTE4FkKkw35r450PvCIGnRocUhwnNGnf+ygW1+fVOJFpqWseAxR1rc1ZT62fhHglyGacP8JRPl5k12yHq8tXXeKPYCrHZZf47Io/PiGtVLIFQkd3Kul9YD0yyDaNojSNMmNBDW7iP+D0JYjeCm/ypWo4yhbTRThEJmWaIj3IRf8zXWnKfJTD9GxfWG8kV9K4rOJbkCqoS2BjCE+ScfhpPsBTx0ZkqPvbIwN/hFOEJzAinXDRMA6cjwwk0tZmGh7NHiv8OpxpOoMinR4NTrkquhBMdQ/pP4/pfbtZPlmg9HIWV88ZJNF4HdGmmFtBvTcFflXdYq86KOQPnHTMVOUoLT5XvA7nIoTkvbD78I/6oS0YoQ0iAjtDHScebhbRyZ+NyhbANj6g8vdK7AWlwzwddjqyelfQQ5wZArq+2MMqQZGSmH21bCUahn1Thkgm4FUIXRnfihzj0PD5cCr5y0IZ7irOGwSnBO1RGcQF2M7AL0QDW122rnRRYclJgjbSNAeTajRJ2Zdj536wNYVc+rfT8CVYD2NrF1TDHWg25zns6wPRzhCH9la0EjHmYKD4zumfWosxcHxbGWrVgiu7fWfdPmYsJEmPPRrI3b/eNG7Gsbq6yUkSssU46wUxlHlCUeWCqMg/IZd4FNnc5bPxYvC+eoRjx4Vax7AYP01BgaSuwtIfAcqYCD6gKvNVUWMoF3jhYQgbGD8OlpToqGY3LN9d2r+RyJXNpTnXMBuTSqQ+XydVcJj9QuLS1CbE05TrvSiwzRha94y8FdjPQa1Ed5thC2h8AZ84lqlsUriFG1aY7vw/RMu51mwmmXOdxj1gHkDCWmz4AY6R0grzPzaasEuyqlHU02OU670rYUeINg7riLHck/E2zbXGne9pZzEvCfwI/6jfhoc8RzZletDMVL9qZU+3nmT2qtfcjAAF65/DUUcSosY4ATLnAfEw8aakuxPZxY7jRieFLp+e2wytiOGvWL/MXzl7/SwR4/B8=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 160 40 L 160 63.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 160 68.88 L 156.5 61.88 L 160 63.63 L 163.5 61.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="100" y="0" width="120" height="40" rx="6" ry="6" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 20px; margin-left: 101px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
AsSortbyNum
</div>
</div>
</div>
</foreignObject>
<text x="160" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
AsSortbyNum
</text>
</switch>
</g>
<path d="M 160 100 L 160 113.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 160 118.88 L 156.5 111.88 L 160 113.63 L 163.5 111.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="110" y="70" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 120 70 L 120 100 M 200 70 L 200 100" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 85px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Integer i
</div>
</div>
</div>
</foreignObject>
<text x="160" y="89" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Integer i
</text>
</switch>
</g>
<path d="M 160 150 L 160 163.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 160 168.88 L 156.5 161.88 L 160 163.63 L 163.5 161.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="110" y="120" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 120 120 L 120 150 M 200 120 L 200 150" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 135px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Interger j
</div>
</div>
</div>
</foreignObject>
<text x="160" y="139" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Interger j
</text>
</switch>
</g>
<path d="M 160 200 L 160 213.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 160 218.88 L 156.5 211.88 L 160 213.63 L 163.5 211.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="110" y="170" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 120 170 L 120 200 M 200 170 L 200 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 185px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Interger k
</div>
</div>
</div>
</foreignObject>
<text x="160" y="189" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Interger k
</text>
</switch>
</g>
<path d="M 161.25 250 L 162.45 264.43" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 162.89 269.66 L 158.82 262.98 L 162.45 264.43 L 165.8 262.4 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="110" y="220" width="100" height="30" rx="4.5" ry="4.5" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 120 220 L 120 250 M 200 220 L 200 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 78px; height: 1px; padding-top: 235px; margin-left: 121px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
Interger t
</div>
</div>
</div>
</foreignObject>
<text x="160" y="239" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
Interger t
</text>
</switch>
</g>
<path d="M 100 295 L 16.37 295" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 11.12 295 L 18.12 291.5 L 16.37 295 L 18.12 298.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 230 295 L 323.63 295" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 328.88 295 L 321.88 298.5 L 323.63 295 L 321.88 291.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 132.5 282.5 L 155.67 273.59 Q 165 270 174.33 273.59 L 220.67 291.41 Q 230 295 220.67 298.59 L 174.33 316.41 Q 165 320 155.67 316.41 L 109.33 298.59 Q 100 295 109.33 291.41 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 295px; margin-left: 101px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
k=!i
</div>
</div>
</div>
</foreignObject>
<text x="165" y="299" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
k=!i
</text>
</switch>
</g>
<path d="M 10 295 L 10 800 Q 10 810 20 810 L 203.63 810" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 208.88 810 L 201.88 813.5 L 203.63 810 L 201.88 806.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="10" cy="295" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="0" y="285" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<path d="M 330 295 L 330 323.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 328.88 L 326.5 321.88 L 330 323.63 L 333.5 321.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="330" cy="295" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="320" y="285" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<path d="M 330 330 L 330 353.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 358.88 L 326.5 351.88 L 330 353.63 L 333.5 351.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="330" cy="330" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="320" y="320" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<path d="M 380 380 L 470 380 Q 480 380 480 386.82 L 480 393.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 480 398.88 L 476.5 391.88 L 480 393.63 L 483.5 391.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 330 400 L 330 423.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 428.88 L 326.5 421.88 L 330 423.63 L 333.5 421.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 290 370 L 295 365 Q 300 360 310 360 L 350 360 Q 360 360 367.07 367.07 L 373.54 373.54 Q 380 380 372.93 387.07 L 366.46 393.54 Q 360 400 350 400 L 310 400 Q 300 400 292.93 392.93 L 286.46 386.46 Q 280 380 285 375 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 98px; height: 1px; padding-top: 380px; margin-left: 281px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
t=0 t0 m-1
</div>
</div>
</div>
</foreignObject>
<text x="330" y="384" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
t=0 t0 m-1
</text>
</switch>
</g>
<rect x="55" y="265" width="50" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 280px; margin-left: 80px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
false
</div>
</div>
</div>
</foreignObject>
<text x="80" y="284" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
false
</text>
</switch>
</g>
<rect x="250" y="265" width="40" height="30" fill="none" stroke="none" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 280px; margin-left: 270px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">
true
<br/>
</div>
</div>
</div>
</foreignObject>
<text x="270" y="284" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
true
</text>
</switch>
</g>
<rect x="420" y="400" width="120" height="40" rx="6" ry="6" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 432 400 L 432 440 M 528 400 L 528 440" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 94px; height: 1px; padding-top: 420px; margin-left: 433px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[t]),
<br/>
&amp;stu[j].score[t]
</div>
</div>
</div>
</foreignObject>
<text x="480" y="424" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[t...
</text>
</switch>
</g>
<path d="M 330 490 L 330 513.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 518.88 L 326.5 511.88 L 330 513.63 L 333.5 511.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="250" y="430" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 266 430 L 266 490 M 394 430 L 394 490" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 460px; margin-left: 267px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[k].sum,
<br/>
&amp;stu[i].sum)
</div>
</div>
</div>
</foreignObject>
<text x="330" y="464" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[k].sum...
</text>
</switch>
</g>
<path d="M 330 580 L 330 603.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 608.88 L 326.5 601.88 L 330 603.63 L 333.5 601.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="250" y="520" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 266 520 L 266 580 M 394 520 L 394 580" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 550px; margin-left: 267px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[k].sum,
<br/>
&amp;stu[i].aver)
</div>
</div>
</div>
</foreignObject>
<text x="330" y="554" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[k].sum...
</text>
</switch>
</g>
<path d="M 330 670 L 330 693.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 330 698.88 L 326.5 691.88 L 330 693.63 L 333.5 691.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="250" y="610" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 266 610 L 266 670 M 394 610 L 394 670" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 640px; margin-left: 267px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapFloat(&amp;stu[k].num,
<br/>
&amp;stu[i].num)
</div>
</div>
</div>
</foreignObject>
<text x="330" y="644" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapFloat(&amp;stu[k].num...
</text>
</switch>
</g>
<rect x="250" y="700" width="160" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 266 700 L 266 760 M 394 700 L 394 760" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 126px; height: 1px; padding-top: 730px; margin-left: 267px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
SwapChar[stu[k].name,
<br/>
stu]
</div>
</div>
</div>
</foreignObject>
<text x="330" y="734" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
SwapChar[stu[k].name,...
</text>
</switch>
</g>
<path d="M 330 760 L 330 800 Q 330 810 320 810 L 210 810" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 210 810 L 210 873.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 210 878.88 L 206.5 871.88 L 210 873.63 L 213.5 871.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="210" cy="810" rx="3" ry="3" fill="rgb(0, 0, 0)" stroke="none" pointer-events="all"/>
<rect x="200" y="800" width="20" height="20" fill="none" stroke="none" pointer-events="all"/>
<rect x="150" y="880" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 910px; margin-left: 151px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
End
</div>
</div>
</div>
</foreignObject>
<text x="210" y="914" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
End
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

Before

Width:  |  Height:  |  Size: 30 KiB

380
src

@ -1,379 +1 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LEN 10 // 字符串最大长度
#define STU_NUM 30 // 最多的学生人数
#define COURSE_NUM 6 // 最多的考试科目数
typedef struct student
{
long num; // 每个学生的学号
char name[MAX_LEN]; // 每个学生的姓名
float score[COURSE_NUM]; // 每个学生COURSE_NUM门功课的成绩
float sum; // 每个学生的总成绩
float aver; // 每个学生的平均成绩
}STU;
int Menu(void);
void ReadScore(STU stu[], int n, int m);
void AverSumofEveryStudent(STU stu[], int n, int m);
void AverSumofEveryCourse(STU stu[], int n, int m);
void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b));
int Ascending(float a, float b);
int Descending(float a, float b);
void SwapFloat(float *x, float *y);
void SwapLong(long *x, long *y);
void SwapChar(char x[], char y[]);
void AsSortbyNum(STU stu[], int n, int m);
void SortbyName(STU stu[], int n, int m);
void SearchbyNum(STU stu[], int n, int m);
void SearchbyName(STU stu[], int n, int m);
void StatisticAnalysis(STU stu[], int n, int m);
void PrintScore(STU stu[], int n, int m);
void WritetoFile(STU record[], int n, int m);
void ReadfromFile(STU record[], int *n, int *m);
int main(void)
{
char ch;
int n = 0, m = 0;
STU stu[STU_NUM];
printf("Input student number(n<%d):", STU_NUM);
scanf("%d", &n);
printf("Input course number(m<=%d):",COURSE_NUM);
scanf("%d", &m);
while (1)
{
ch = Menu(); // 显示菜单,并读取用户输入
switch (ch)
{
case 1:ReadScore(stu, n, m);
break;
case 2: AverSumofEveryCourse(stu, n, m);
break;
case 3: AverSumofEveryStudent(stu, n, m);
break;
case 4: SortbyScore(stu, n, m, Descending);
printf("\nSort in descending order by score:\n");
PrintScore(stu, n, m);
break;
case 5: SortbyScore(stu, n, m, Ascending);
printf("\nSort in ascending order by score:\n");
PrintScore(stu, n, m);
break;
case 6: AsSortbyNum(stu, n, m);
printf("\nSort in ascending order by number:\n");
PrintScore(stu, n, m);
break;
case 7: SortbyName(stu, n, m);
printf("\nSort in dictionary order by name:\n");
PrintScore(stu, n, m);
break;
case 8: SearchbyNum(stu, n, m);
break;
case 9: SearchbyName(stu, n, m);
break;
case 10: StatisticAnalysis(stu, n, m);
break;
case 11:PrintScore(stu, n, m);
break;
case 12:WritetoFile(stu, n, m);
break;
case 13:ReadfromFile(stu, &n, &m);
break;
case 0: printf("End of program!");
exit(0);
default:printf("Input error!");
}
}
return 0;}
// 函数功能:显示菜单并获得用户键盘输入的选项
int Menu(void)
{
int itemSelected;
printf("Management for Students' scores\n");
printf("1.Input record\n");
printf("2.Calculate total and average score of every course\n");
printf("3.Calculate total and average score of every student\n");
printf("4.Sort in descending order by score\n");
printf("5.Sort in ascending order by score\n");
printf("6.Sort in ascending order by number\n");
printf("7.Sort in dictionary order by name\n");
printf("8.Search by number\n");
printf("9.Search by name\n");
printf("10.Statistic analysis\n");
printf("11.List record\n");
printf("12.Write to a file\n");
printf("13.Read from a file\n");
printf("0.Exit\n");
printf("Please Input your choice:");
scanf("%d", &itemSelected); // 读入用户输入
return itemSelected;
}
//1 函数功能输入n个学生的m门课成绩
void ReadScore(STU stu[], int n, int m)
{
int i, j;
printf("Input student's ID, name and score:\n");
for(i=0;i<n;i++)
{scanf("%ld%s",&stu[i].num,stu[i].name);
for (j=0; j<m; j++)
scanf("%f",&stu[i].score[j]);
}
}
//2 函数功能:计算每个学生各门课程的总分和平均分
void AverSumofEveryStudent(STU stu[], int n, int m)
{
int i, j;
for (i=0; i<n; i++)
{
stu[i].sum = 0;
for (j=0; j<m; j++)
{
stu[i].sum = stu[i].sum + stu[i].score[j];
}
stu[i].aver = m>0 ? stu[i].sum / m : -1;
printf("student %d: sum = %.0f, aver = %.0f\n",
i+1, stu[i].sum, stu[i].aver);
}
}
//3 函数功能:计算每门课程的总分和平均分
void AverSumofEveryCourse(STU stu[], int n, int m)
{
int i, j;
float sum[COURSE_NUM], aver[COURSE_NUM];
for (j=0; j<m; j++)
{
sum[j] = 0;
for (i=0; i<n; i++)
{
sum[j] += stu[i].score[j];
}
aver[j]=sum[j]/i;
printf("student %d: sum = %.0f, aver = %.0f\n",
j+1, sum[j], aver[j]);
}
}
//4 函数功能按选择法将数组sum的元素值排序
void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b))
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
k = i;
for (j=i+1; j<n; j++)
{
if ((*compare)(stu[j].sum, stu[k].sum)) k = j;
}
if (k != i)
{
for (t=0; t<m; t++) // 交换m门课程的成绩
{
SwapFloat(&stu[k].score[t], &stu[i].score[t]);
}
SwapFloat(&stu[k].sum, &stu[i].sum); // 交换总分
SwapFloat(&stu[k].aver, &stu[i].aver); // 交换平均分
SwapLong(&stu[k].num, &stu[i].num); // 交换学号
SwapChar(stu[k].name, stu[i].name); // 交换姓名
}
}
}
// 5使数据按升序排序
int Ascending(float a, float b)
{
return a < b; // 这样比较决定了按升序排序如果a<b则交换
}
// 6使数据按降序排序
int Descending(float a, float b)
{
return a > b;
}
// 7交换两个单精度浮点型数据
void SwapFloat(float *x, float *y)
{
float temp;
temp = *x;
*x = *y;
*y = temp;
}
// 8交换两个长整型数据
void SwapLong(long *x, long *y)
{
long temp;
temp = *x;
*x = *y;
*y = temp;
}
// 9交换两个字符串
void SwapChar(char x[], char y[])
{
char temp[MAX_LEN];
strcpy(temp, x);
strcpy(x, y);
strcpy(y, temp);
}
// 10函数功能按选择法将数组num的元素值按从低到高排序
void AsSortbyNum(STU stu[], int n, int m)
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
K=i;
for(j=i+1;j<10;j++)
{
if((*compare)(stu[k]num.stu[j].num)) k=j;}
if(k!=i)
{t=stu[i].num;stu[i].num=stu[k].num;stu[k].num=t;}
}
}
// 11函数功能交换法实现字符串按字典顺序排序
void AsSortbyNum(STU stu[], int n, int m)
{
int i, j, k, t;
for (i=0; i<n-1; i++)
{
k = i;
for (j=i+1; j<n; j++)
{
if (stu[j].num < stu[k].num) k = j;
}
if (k != i)
{
for (t=0; t<m; t++)
{
SwapFloat(&stu[k].score[t], &stu[i].score[t]);
}
SwapFloat(&stu[k].sum, &stu[i].sum);
SwapFloat(&stu[k].aver, &stu[i].aver);
SwapLong(&stu[k].num, &stu[i].num);
SwapChar(stu[k].name, stu[i].name);
}
}
}
// 12函数功能按学号查找学生成绩并显示查找结果
void SearchbyNum(STU stu[], int n, int m)
{
long number;
int i, j;
printf("Input the number you want to search:");
scanf("%ld", &number);
for(i=0;i<n;i++)
{
if (stu[i].num==number)
{
printf("%ld\t%s\t", stu[i].num, stu[i].name);
for (j=0; j<m; j++)
{
printf("%.0f\t", stu[i].score[j]);
}
printf("%.0f\t%.0f\n", stu[i].sum, stu[i].aver);
return;
}
printf("\nNot found!\n");
}
}
// 13函数功能按姓名的字典顺序排出成绩表
void SearchbyName(STU stu[], int n, int m)
{
char x[MAX_LEN];
int i, j;
printf("Input the name you want to search:");
scanf("%s", x);
for (i=0; i<n; i++)
{
if (strcmp(stu[i].name, x) == 0)
{
printf("%ld\t%s\t", stu[i].num, stu[i].name);
for (j=0; j<m; j++)
{
printf("%.0f\t", stu[i].score[j]);
}
printf("%.0f\t%.0f\n", stu[i].sum, stu[i].aver);
return;
}
}
printf("\nNot found!\n");
}
// 14函数功能统计各分数段的学生人数及所占的百分比
void StatisticAnalysis(STU stu[], int n, int m)
{
int i, j, t[6];
for (j=0; j<m; j++)
{
printf("For course %d:\n", j+1);
memset(t, 0, sizeof(t));
for (i=0; i<n; i++)
{
if (stu[i].score[j]>=0 && stu[i].score[j]<60)t[0]++;
else if (stu[i].score[j]<70) t[1]++;
else if (stu[i].score[j]<80) t[2]++;
else if (stu[i].score[j]<90) t[3]++;
else if (stu[i].score[j]<100) t[4]++;
else if (stu[i].score[j] == 100) t[5]++;
}
for (i=0; i<=5; i++)
{
if (i==0) printf("<60\t%d\t%.2f%%\n",t[i],(float)t[i]/n*100);
else if (i==5) printf("%d\t%d\t%.2f%%\n",
(i+5)*10,t[i],(float)t[i]/n*100);
else printf("%d-%d\t%d\t%.2f%%\n",
(i+5)*10, (i+5)*10+9, t[i], (float)t[i]/n*100);
}
}
}
// 15函数功能 打印学生成绩
void PrintScore(STU stu[], int n, int m)
{
int i, j;
for (i=0; i<n; i++)
{
printf("%ld\t%s\t", stu[i].num, stu[i].name);
for (j=0; j<m; j++)
{
printf("%.0f\t", stu[i].score[j]);
}
printf("%.0f\t%.0f\n", stu[i].sum, stu[i].aver);
}
}
// 16输出n个学生的学号、姓名及m门课程的成绩到文件student.txt中
void WritetoFile(STU stu[], int n, int m)
{
FILE *fp;
int i, j;
if ((fp = fopen("student.txt","w")) == NULL)
{
printf("Failure to open score.txt!\n");
exit(0);
}
fprintf(fp, "%d\t%d\n", n, m); //将学生人数和课程门数写入文件
for (i=0; i<n; i++)
{
fprintf(fp, "%10ld%10s", stu[i].num, stu[i].name);
for (j=0; j<m; j++)
{
fprintf(fp, "%10.0f", stu[i].score[j]);
}
fprintf(fp, "%10.0f%10.0f\n", stu[i].sum, stu[i].aver);
}
fclose(fp);
}
//17从文件中读取学生的学号、姓名及成绩等信息写入到结构体数组stu中
void ReadfromFile(STU stu[],int *n, int *m)
{
FILE *fp;
int i, j;
if ((fp = fopen("student.txt","r")) == NULL)
{
printf("Failure to open score.txt!\n");
exit(0);
}
fscanf(fp, "%d\t%d", n, m); // 从文件中读出学生人数和课程门数
for (i=0; i<*n; i++) //学生人数保存在n指向的存储单元
{
fscanf(fp, "%10ld", &stu[i].num);
fscanf(fp, "%10s", stu[i].name);
for (j=0; j<*m; j++)//课程门数保存在m指向的存储单元
{
fscanf(fp, "%10f", &stu[i].score[j]); //不能用%10.0f
}
fscanf(fp, "%10f%10f", &stu[i].sum, &stu[i].aver);//不能用%10.0f
}
fclose(fp);
}
undefined

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 97 KiB

@ -1,23 +0,0 @@
选择菜单命令 10提示输入学生成绩通过循环得出各分数段学生人数及所占百分比
请输入你的选择: 10
关于课程1:
<60 0 0.00%
60-70 0 0.00%
70-80 2 50.00%
80-90 1 25.00%
90-100 0 0.00%
100 1 25.00%
For course 2:
<60 0 0.00%
60-70 0 0.00%
70-80 0 00.00%
80-90 2 50.00%
90-100 2 50.00%
100 0 0.00%
For course 3:
<60 0 0.00%
60-70 0 0.00%
70-80 0 0.00%
80-90 1 25.00%
90-100 2 50.00%
100 1 25.00%
Loading…
Cancel
Save