diff --git a/2024/uiua/day_01.ua b/2024/uiua/day_01.ua new file mode 100644 index 0000000..b144723 --- /dev/null +++ b/2024/uiua/day_01.ua @@ -0,0 +1,16 @@ +# Experimental! + +$ 3 4 +$ 4 3 +$ 2 5 +$ 1 3 +$ 3 9 +$ 3 3 +Raw ← + +Input ← ⍉↯∞_2 ∵⋕regex "\\d+" Raw + +Part₁ ← /+⌵- °⊟ ≡⍆ +Part₂ ← /+× ⟜(/+⍉⊞=) °⊟ + +⊂⊃Part₁Part₂ Input