We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e079bdd commit 6512666Copy full SHA for 6512666
2023/src/bin/day-15/main.ua
@@ -5,7 +5,7 @@ Lib ← &i "../../lib.ua"
5
6
# c n => n
7
F ← |2 ◿256 ×17 + -@\0
8
-# s n => s n
+# s n => s-1 n
9
G ← |2.2 :F ⊙: ⊃(⊢|↘1)
10
# s => n
11
H ← |1 ;⍢(G|>0⧻) :0
@@ -20,4 +20,27 @@ SolvePartOne ← |1 (
20
⍤:≍, 516804 SolvePartOne &fras "input"
21
---
22
23
-&p $"Part 1: _" SolvePartOne &fras "input"
+# &p $"Part 1: _" SolvePartOne &fras "input"
24
+
25
+"rn=1"
26
+≠, @=
27
+⊜□
28
29
+# &fras "example_1"
30
+# ⊜□≠, @,
31
32
+# ▽≡(⊐∊@=).
33
+# ⊐≡(?□? ⊜□ ?≠, ?@=?)
34
35
+# "rn=1"
36
+# ⊜□≠, @=
37
+# ∊@=
38
+# "cm-"
39
40
41
+{⊃∘H ."rn"}
42
+{⊃∘H ."cm"}
43
+{⊃∘H ."qp"}
44
+{⊃∘H ."pc"}
45
46
+# känns som det börjar bli dags att rapportera den där partition-"buggen"
0 commit comments