5 queens on chess board

Solution 1

3
5
2
4
1


Solution 2

4
2
5
3
1


Solution 3

5
2
4
1
3


Solution 4

2
5
3
1
4


Solution 5

5
3
1
4
2


Solution 6

2
4
1
3
5


Solution 7

4
1
3
5
2


Solution 8

3
1
4
2
5


Solution 9

1
3
5
2
4


Solution 10

1
4
2
5
3




All solutions:

a1 b3 c5 d2 e4 Solution 1 step 6 a1 b4 c2 d5 e3 Solution 2 step 14 a2 b4 c1 d3 e5 Solution 3 step 28 a2 b5 c3 d1 e4 Solution 4 step 40 a3 b1 c4 d2 e5 Solution 5 step 50 a3 b5 c2 d4 e1 Solution 6 step 58 a4 b1 c3 d5 e2 Solution 7 step 68 a4 b2 c5 d3 e1 Solution 8 step 80 a5 b2 c4 d1 e3 Solution 9 step 94 a5 b3 c1 d4 e2 Solution 10 step 102

All steps:

Step 1 a1 Step 2 a1 b3 Step 3 a1 b3 c5 Step 4 a1 b3 c5 d2 Step 5 a1 b3 c5 d2 e4 Step 6 Solution 1 a1 b3 c5 d2 Step 7 a1 b3 c5 Step 8 a1 b3 Step 9 a1 Step 10 a1 b4 Step 11 a1 b4 c2 Step 12 a1 b4 c2 d5 Step 13 a1 b4 c2 d5 e3 Step 14 Solution 2 a1 b4 c2 d5 Step 15 a1 b4 c2 Step 16 a1 b4 Step 17 a1 Step 18 a1 b5 Step 19 a1 b5 c2 Step 20 a1 b5 Step 21 a1 Step 22 Step 23 a2 Step 24 a2 b4 Step 25 a2 b4 c1 Step 26 a2 b4 c1 d3 Step 27 a2 b4 c1 d3 e5 Step 28 Solution 3 a2 b4 c1 d3 Step 29 a2 b4 c1 Step 30 a2 b4 Step 31 a2 Step 32 a2 b5 Step 33 a2 b5 c1 Step 34 a2 b5 c1 d4 Step 35 a2 b5 c1 Step 36 a2 b5 Step 37 a2 b5 c3 Step 38 a2 b5 c3 d1 Step 39 a2 b5 c3 d1 e4 Step 40 Solution 4 a2 b5 c3 d1 Step 41 a2 b5 c3 Step 42 a2 b5 Step 43 a2 Step 44 Step 45 a3 Step 46 a3 b1 Step 47 a3 b1 c4 Step 48 a3 b1 c4 d2 Step 49 a3 b1 c4 d2 e5 Step 50 Solution 5 a3 b1 c4 d2 Step 51 a3 b1 c4 Step 52 a3 b1 Step 53 a3 Step 54 a3 b5 Step 55 a3 b5 c2 Step 56 a3 b5 c2 d4 Step 57 a3 b5 c2 d4 e1 Step 58 Solution 6 a3 b5 c2 d4 Step 59 a3 b5 c2 Step 60 a3 b5 Step 61 a3 Step 62 Step 63 a4 Step 64 a4 b1 Step 65 a4 b1 c3 Step 66 a4 b1 c3 d5 Step 67 a4 b1 c3 d5 e2 Step 68 Solution 7 a4 b1 c3 d5 Step 69 a4 b1 c3 Step 70 a4 b1 Step 71 a4 b1 c5 Step 72 a4 b1 c5 d2 Step 73 a4 b1 c5 Step 74 a4 b1 Step 75 a4 Step 76 a4 b2 Step 77 a4 b2 c5 Step 78 a4 b2 c5 d3 Step 79 a4 b2 c5 d3 e1 Step 80 Solution 8 a4 b2 c5 d3 Step 81 a4 b2 c5 Step 82 a4 b2 Step 83 a4 Step 84 Step 85 a5 Step 86 a5 b1 Step 87 a5 b1 c4 Step 88 a5 b1 Step 89 a5 Step 90 a5 b2 Step 91 a5 b2 c4 Step 92 a5 b2 c4 d1 Step 93 a5 b2 c4 d1 e3 Step 94 Solution 9 a5 b2 c4 d1 Step 95 a5 b2 c4 Step 96 a5 b2 Step 97 a5 Step 98 a5 b3 Step 99 a5 b3 c1 Step 100 a5 b3 c1 d4 Step 101 a5 b3 c1 d4 e2 Step 102 Solution 10 a5 b3 c1 d4 Step 103 a5 b3 c1 Step 104 a5 b3 Step 105 a5 Step 106
The number of queens = 5
The number of solutions = 10
The number of steps = 106

Результаты работы программы http://ateist.spb.ru/programs/ferz.exe

Владимир Фомин.

http://ateist.spb.ru


телефоны +79203451544, +79106842514