418
правок
Изменения
→Пример работы
Дано слово <tex>w = $()(())$</tex>.
Инициализация массива <tex>d</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}
{| clear="both" |}
Итерация m = <tex>m = 1</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}
Итерация m = <tex>m = 2</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
| align="center"| ●
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}
Итерация m = <tex>m = 3</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
|
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
|
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
| align="center"| ●
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}
Итерация m = <tex>m = 4</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
|
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
|
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
| align="center"| ●
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}
Итерация m = <tex>6m = 5</tex>.
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|A
|-
|
| align="center"| ●
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|B
|-
|
| align="center"| ●
|-
! 2
|
|
|-
! 3
|
| align="center"| ●
|-
! 4
| align="center"| ●
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|C
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
|
|
|-
! 6
|
|
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; float: left;"
! colspan="7"|D
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
| align="center"| ●
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| border="1" class="wikitable" style="width: 150px; height: 150px; "
! colspan="7"|E
|-
|
|
|-
! 2
|
|
|-
! 3
|
|
|-
! 4
|
|
|-
! 5
| align="center"| ●
|
|-
! 6
|
| align="center"| ●
|}
{| clear="both" |}