File tree 3 files changed +36
-1
lines changed
3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ module Extraction
2
+
3
+ let original =
4
+ [[ 1 ; 2 ; 3 ; 4 ]
5
+ [ 5 ; 6 ; 7 ; 8 ]
6
+ [ 9 ; 10 ; 11 ; 12 ]
7
+ [ 13 ; 14 ; 15 ; 16 ]]
8
+
9
+ let extracted_rows =
10
+ [[ 1 ; 2 ; 3 ; 4 ]
11
+ [ 5 ; 6 ; 7 ; 8 ]
12
+ [ 9 ; 10 ; 11 ; 12 ]
13
+ [ 13 ; 14 ; 15 ; 16 ]]
14
+
15
+ let extracted_cols =
16
+ [[ 1 ; 5 ; 9 ; 13 ]
17
+ [ 2 ; 6 ; 10 ; 14 ]
18
+ [ 3 ; 7 ; 11 ; 15 ]
19
+ [ 4 ; 8 ; 12 ; 16 ]]
20
+
21
+ let extracted_boxes =
22
+ [[ 1 ; 2 ; 5 ; 6 ]
23
+ [ 3 ; 4 ; 7 ; 8 ]
24
+ [ 9 ; 10 ; 13 ; 14 ]
25
+ [ 11 ; 12 ; 15 ; 16 ]]
Original file line number Diff line number Diff line change 4
4
[ 0 ; 3 ; 0 ; 0 ]
5
5
[ 2 ; 0 ; 0 ; 0 ]]
6
6
7
+ let field1_solved =
8
+ [[ 1 ; 2 ; 3 ; 4 ]
9
+ [ 3 ; 4 ; 1 ; 2 ]
10
+ [ 4 ; 3 ; 2 ; 1 ]
11
+ [ 2 ; 1 ; 4 ; 3 ]]
12
+
7
13
let field2 =
8
14
[[ 0 ; 0 ; 8 ; 3 ; 0 ; 0 ; 6 ; 0 ; 0 ]
9
15
[ 0 ; 0 ; 4 ; 0 ; 0 ; 0 ; 0 ; 1 ; 0 ]
@@ -15,4 +21,7 @@ let field2 =
15
21
16
22
[ 0 ; 0 ; 0 ; 9 ; 1 ; 0 ; 0 ; 0 ; 5 ]
17
23
[ 0 ; 0 ; 3 ; 0 ; 5 ; 0 ; 0 ; 0 ; 2 ]
18
- [ 0 ; 5 ; 0 ; 0 ; 0 ; 0 ; 0 ; 7 ; 4 ]]
24
+ [ 0 ; 5 ; 0 ; 0 ; 0 ; 0 ; 0 ; 7 ; 4 ]]
25
+
26
+ System.Console.ReadLine() |> ignore
27
+
Original file line number Diff line number Diff line change 42
42
<Reference Include =" System.Numerics" />
43
43
</ItemGroup >
44
44
<ItemGroup >
45
+ <Compile Include =" Extraction.fs" />
45
46
<Compile Include =" Program.fs" />
46
47
</ItemGroup >
47
48
<Import Project =" $(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition =" !Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />
You can’t perform that action at this time.
0 commit comments