Description: One mission of the source code: const dx: array [1 .. 4] of integer = (2,2,1,1) dy: array [1 .. 4] of integer = (1,-1,2,-2 ) type map = record x, y: integer end var i, j, n, m, k: integer a: array [0 .. 50,0 .. 50] of map begin read (n, m) fillchar (a, sizeof (a), 0) a [n, m]. x: =- 1 a [n, m]. y: =- 1 (marking end) for i: = n downto 2 do (backward) for j : = 1 to m do if a [i, j]. x
To Search:
File list (Check if you may need any files):