-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathБлок-схема алгоритма программы.drawio
85 lines (85 loc) · 7.9 KB
/
Блок-схема алгоритма программы.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<mxfile host="Electron" modified="2024-05-07T11:43:26.389Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.2.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="pTFamNQ9vMfORz9p7bta" version="24.2.5" type="device">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1434" dy="854" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="5MrR-VcQO70fsDZjSYCJ-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-0" target="5MrR-VcQO70fsDZjSYCJ-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-0" value="Start" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="60" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-1" value="Finish" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="980" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-2" target="5MrR-VcQO70fsDZjSYCJ-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-2" value="wa_index = 0,<br>ra_index = 0,<div>letters_cnt =0<br></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="180" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-3" target="5MrR-VcQO70fsDZjSYCJ-28">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-3" value="words_array" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="270" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-4" target="5MrR-VcQO70fsDZjSYCJ-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-4" value="result_array" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="880" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-5" target="5MrR-VcQO70fsDZjSYCJ-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-5" value="letters_cnt = count_word_letters(words_array[wa_index])" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="100" y="560" width="320" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-6" target="5MrR-VcQO70fsDZjSYCJ-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-15" value="FALSE" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-6" target="5MrR-VcQO70fsDZjSYCJ-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-6" value="letters_cnt &lt;= 3" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="650" width="120" height="110" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-7" target="5MrR-VcQO70fsDZjSYCJ-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-7" value="result_array[ra_index++] = words_array[wa_index]" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="115" y="780" width="290" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-8" target="5MrR-VcQO70fsDZjSYCJ-20">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-8" value="wa_index++" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="380" y="675" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-20" target="5MrR-VcQO70fsDZjSYCJ-5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-24" value="FALSE" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-20" target="5MrR-VcQO70fsDZjSYCJ-4">
<mxGeometry x="-0.8862" relative="1" as="geometry">
<Array as="points">
<mxPoint x="80" y="490" />
<mxPoint x="80" y="910" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-20" value="wa_index &lt; sizeof(words_array)" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="145" y="450" width="230" height="80" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="5MrR-VcQO70fsDZjSYCJ-28" target="5MrR-VcQO70fsDZjSYCJ-20">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5MrR-VcQO70fsDZjSYCJ-28" value="result_array[sizeof(words_array)]&nbsp;= []" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="150" y="360" width="220" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>