-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
105 lines (103 loc) · 2.18 KB
/
TODO
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
2013-02-18. Figure out that:
mac-pros-mac-pro 18:05 % ~/perso/porquerolles-base ./sudoku.rb -s -g grids/maman.sdk
Parsing file grids/maman.sdk.
+---+---+---+
|1..|..7|.9.|
|.3.|.2.|..8|
|..9|6..|5..|
+---+---+---+
|..5|3..|9..|
|.1.|.8.|..2|
|6..|..4|...|
+---+---+---+
|3..|...|.1.|
|.4.|...|..7|
|..7|...|3..|
+---+---+---+
Entering guessing mode ...
Considered 122 hypotheses so far. Hypothesis depth: 3.Sudoku insoluble.
Solved!
+---+---+---+
|158|437|296|
|736|925|148|
|429|618|573|
+---+---+---+
|285|371|964|
|914|586|732|
|673|294|851|
+---+---+---+
|362|769|415|
|541|853|627|
|567|142|389|
+---+---+---+
mac-pros-mac-pro 18:06 % ~/perso/porquerolles-base
---
2013-04-03 mid. Also that:
s002 0:29 ~/porquerolles % bin/sudoku -scg grids/misc/X-wing-2.sdk
Parsing file grids/misc/X-wing-2.sdk.
+---+---+---+
|857|912|..6|
|291|346|758|
|346|785|192|
+---+---+---+
|124|56.|9.3|
|76.|...|.25|
|9.5|.2.|6.1|
+---+---+---+
|412|6..|5.7|
|67.|25.|.1.|
|5..|.7.|26.|
+---+---+---+
+---+---+---+
|857|912|..6|
|291|346|758|
|346|785|192|
+---+---+---+
|124|56.|9.3|
|76.|...|.25|
|9.5|.2.|6.1|
+---+---+---+
|412|6..|5.7|
|67.|25.|.1.|
|5..|.7.|26.|
+---+---+---+
s002 0:29 ~/porquerolles %
s002 0:30 ~/porquerolles % bin/sudoku --singles grids/misc/X-wing-2.sdk
Error: invalid option: --singles
Usage: bin/sudoku [options] <file name>
-s, --[no]-singles Place single candidates
-d, --deduction Use deduction method
-c, --[no-]chains Find chains
-g, --guess Use guess method
-v, --[no-]verbose Be more verbose
-q, --[no-]quiet Be quieter
-r, --[no-]references References to full solution
-w, --[no-]well-formed Check if grid is well-formed.
Parsing file grids/misc/X-wing-2.sdk.
+---+---+---+
|857|912|..6|
|291|346|758|
|346|785|192|
+---+---+---+
|124|56.|9.3|
|76.|...|.25|
|9.5|.2.|6.1|
+---+---+---+
|412|6..|5.7|
|67.|25.|.1.|
|5..|.7.|26.|
+---+---+---+
+---+---+---+
|857|912|..6|
|291|346|758|
|346|785|192|
+---+---+---+
|124|56.|9.3|
|76.|...|.25|
|9.5|.2.|6.1|
+---+---+---+
|412|6..|5.7|
|67.|25.|.1.|
|5..|.7.|26.|
+---+---+---+
s002 0:30 ~/porquerolles %