Изменения

Перейти к: навигация, поиск
Пример работы
Инициализация массива <tex>d</tex>.
Инициализация массива <tex>d</tex>.
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
| align="center"| ●
|}
 
{| clear="both" |}
Заполнение массива <tex>d</tex>.
 
{| clear="both" |}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
| align="center"| ●
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
| align="center"| ●
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
| align="center"| ●
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|A
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
| align="center"| ●
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|B
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
| align="center"| ●
| align="center"| ●
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
| align="center"| ●
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|C
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
| align="center"| ●
|
|
|-
! style="background:#efefef;"|2
|
|
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; float: left;"
! colspan="7" style="background:#ffdead;"|D
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
| align="center"| ●
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
|}
{| border="1" style="width: 150px; height: 150px; "
! colspan="7" style="background:#ffdead;"|E
|-
! style="background:#efefef;"|! style="background:#efefef;"|1! style="background:#efefef;"|2! style="background:#efefef;"|3! style="background:#efefef;"|4! style="background:#efefef;"|5! style="background:#efefef;"|6
|-
! style="background:#efefef;"|1
|
|
|
|-
! style="background:#efefef;"|2
|
| align="center"| ●
|
|-
! style="background:#efefef;"|3
|
|
|
|-
! style="background:#efefef;"|4
|
|
|
|-
! style="background:#efefef;"|5
|
|
|
|-
! style="background:#efefef;"|6
|
|
418
правок

Навигация