Skakačev obhod: Razlika med redakcijama

Izbrisana vsebina Dodana vsebina
m vrnitev sprememb uporabnika Sporti (pogovor) na zadnje urejanje uporabnika TXiKiBoT
Klemen Kocjancic (pogovor | prispevki)
m slog AWB
Vrstica 22:
 
program lipicanec(output);
{[[Niklaus Wirth|Wirth N.]], Računalniško programiranje I}
const n=8;
nsq=n*n; {deska 8x8}
xz=1; yz=1; {zacetni koordinati}
type index=1...n;
var i,j : integer;
q : boolean;
s : set of index;
a,b : array[1...8] of integer; {osem moznih skokov}
h : array[index,index] of integer;
m : integer;
Vrstica 64:
begin
s:=[1...n];
begin
a[1]:= 2; b[1]:= 1;
Vrstica 86:
:(v angleščini)
* [http://mathworld.wolfram.com/KnightsTour.html Weisstein, Eric W. "Knight's Tour." MathWorld]
* http://www.velucchi.it/mathchess/knight.htm
* http://www.borderschess.org/KnightTour.htm
* http://www.ktn.freeuk.com/index.htm