[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [ 10 ] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117]

-., .

(1,)

./

,! ,


((

. 2.1.17. - « ».

. - . , !



PROGRaPI knight (OUTPUT.input.TAPE3iSNPUT.TAPr6":eU"PUT»

.

/1, - .

: .

D3SRP{I,J> = , I

J N- .

=0-- nO/iE 0/1.

=99- (

. .

10-.-<) - , 1$$,

;>/((.) ,

I.J 0011 ,

INEXT.JNEXT !, . INTEGER BOARD(12.12).IR0VE(e>iJN0VE(e»

DATA lnoVEIl>.l«O/e(2).IH0t/EIS).lHOI/E<i>>ilI-i0>/El5)«IfWVE(«t» + lM0VE(7blH0tfE(e>/-z.-1.1.2.2.1.-l.-S/ JI4OVE(l>iJM0vE(Z).J?iO\/E(5).JM0Vt(%(v0K0vE(5bJFiCVEtSI»

♦ Ji40VE(7)«JflOVE(E)/i,2.a.l.-li»2,-2i-l/

-

P.EADtS.lOOO) IIKlTsJINIT lOOo F0R.4AT(2I2>

I 1.J2

00 100 J = j.ia

BOARD(I.J) -

IF ( I .Lf. 3 oO?1. r oGT. 10 .CR,

♦ J ,.T. 3 .CR. J .CT, iO > GQARSdaJI = 99

IBB COMTINUE

£00 CONTIWUE

. i

= 1

BOARDlIIwITiJINIT) 1 I = UNIT J = JiniT

N = 2

, HE 1 .

500 IF < .GT. 8 1 GOTO 500 ,

INEXT = 1.10(> JNEXT = JtJHOtftCK)

IF ( BCAROdNEXTtJfEKTl .N£. I 60T0 «00

( HOEOZ 1 Ql,J;)

BOSROtlWEXT.JNEXT) = N N i N*l

0 = JNEXT

1 = INEXT = J SOTO SOO

( )

*0 3 *1

GOTO 300

,

500 N = N-1

WRITE(6.2000>((BOARD(l,J).J=3,10l.l=3«10)»N FORMAT(SHlBOAftD 1S. ,0(BI10/1. .iiH THERE UEREi!3.5HW0VtSI STOP ENO

. 2.1.18. « » . ( 2000: «: ... ...».)



-:

, - , . , « ».

IF

THEN


THEN

ELSE THEN


WHILE D DOSS

ELSE

. 2.1.19. - . 2.1.4, .

- , , .

, , , - . - >, . .

, - , . , , . , , , , -, . , , . ( . 2.1.19, , , - . 2.1.4, ).



[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [ 10 ] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117]

0.0009