4 + 2 + 1 = 7 -wartość max jaką możemy uzyskać | | | 22 21 20 | | | 1 1 1 |
1 6 3 5 5 || || || || || 1 4 + 2 + 0 0 + 2 + 1 4 + 0 + 1 4 + 0 + 1 | | | | | | | | | | | | | 20 22 21 20 22 21 20 22 21 20 22 21 20 | | | | | | | | | | | | | 1 1 1 0 0 1 1 1 0 1 1 0 1 |
/\ | | |
8 + 4 + 2 + 1 = 15 -wartość max jaką możemy uzyskać | | | | 24 22 21 20 | | | | 1 1 1 1 |
1 C E D | | | | 1 12 14 13 || || || || 1 8 + 4 + 0 + 0 8 + 4 + 2 + 0 8 + 4 + 0 + 1 | | | | | | | | | | | | | 20 24 22 21 20 24 22 21 20 24 22 21 20 | | | | | | | | | | | | | 1 1 1 0 0 1 1 1 0 1 1 0 1 |
/\ | | |