|
|
вернуться в форумCould you explain sample 1? How does the "5" coming? Re: Could you explain sample 1? That's how the pointer moves: x = 0; y = 0 x = 1; y = 0 x = 2; y = 0 x = 3; y = 0 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 2 x = 4; y = 3 x = 3; y = 3 x = 2; y = 3 x = 1; y = 3 x = 0; y = 3 x = 0; y = 2 x = 0; y = 1 x = 1; y = 1 x = 2; y = 1 x = 3; y = 1 x = 4; y = 1 x = 4; y = 0 x = 5; y = 0 x = 5; y = 1 x = 5; y = 2 x = 5; y = 3 |
|
|