Skip to content

Commit

Permalink
flake.lock: Update
Browse files Browse the repository at this point in the history
Flake lock file updates:

• Updated input 'uiua':
    'github:uiua-lang/uiua/731ab8e576dee01374055d4bf9047514af358056?narHash=sha256-ZIFHJKb6%2BP3ZlYAQbIrU3SvBTu2k2Z6QfUvBFzM51gw%3D' (2024-11-23)
  → 'github:uiua-lang/uiua/92c14da2d4f691e9886852a0b6a6a9491d1aeedb?narHash=sha256-WCpnZBg/LELmoXtqSp4FxaFu58QLoM4sFuDaJmUh5Ec%3D' (2024-11-25)
  • Loading branch information
Defelo committed Nov 25, 2024
1 parent a8673cc commit acf513b
Show file tree
Hide file tree
Showing 46 changed files with 68 additions and 68 deletions.
16 changes: 8 additions & 8 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Uiua/2015/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

-¬.=@(
⊃(+1⊗¯1\+)/+
2 changes: 1 addition & 1 deletion Uiua/2015/02.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊜⋕≠@x.)≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2015/03.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊗:⊙▽:◡∈"<^>v"
⊏⊙[◡∩¯⊸⇌⇡2]
Expand Down
4 changes: 2 additions & 2 deletions Uiua/2015/06.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊙[∩∩⋕] ⍣(
≍"on"°$"turn _ _,_ through _,_"
Expand All @@ -7,5 +7,5 @@

⊙⊙(↯[.1000]0)

Solve! ← /+♭∧(⍜⊡(^0:) ⍜⍜⍉-(☇1⇡) ⊙(+1)∩⊟°[⊙⊙⊙∘]⊙::)
Solve! ← /+♭∧(⍜⊡(^0:) ⍜⍜⍉-(♭₂⇡) ⊙(+1)∩⊟°[⊙⊙⊙∘]⊙::)
⊃Solve!⨬(↥0-1|+1|+2) Solve!⨬(↧0|↥1|¬)
4 changes: 2 additions & 2 deletions Uiua/2016/01.ua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
&fras ⊢⇌ &args
&fras &args

⊜(-1⊗⊙"L R"⊙⋕°⊂)¬∈", \n".
⊂0\+ ⊏⊙[∩¯,,⟜⇌⇡2] ▽:◿4\+
∩(/+⌵)⊃(⊢▽/↥×⊞<.⇡⧻.⊞≍..|⊢⇌)
∩(/+⌵)⊃(⊢▽/↥×⊞<.⇡⧻.⊞≍..|)
4 changes: 2 additions & 2 deletions Uiua/2016/03.ua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊜⋕≠@ .)≠@\n.
↯∞_3⍉.
∩(/+≡(<+°[⊙⊙∘]⊏⊸⍏))
∩(/+≡(<+°[⊙⊙∘]))
4 changes: 2 additions & 2 deletions Uiua/2016/04.ua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
&fras ⊢⇌ &args
&fras &args

⊜({⋕⍜⇌°$"_-_" °$"_[_]"})≠@\n.

Checksum ← ↙5 ≡(°□⊢⇌) ⊏⊸⍏ ⊕{¯⊃⧻⊢}⊸⊛ ▽≠@-.
Checksum ← ↙5 ≡(°□⊣) ⍆ ⊕{¯⊃⧻⊢}⊸⊛ ▽≠@-.
⟜(/+×≡(⊙(≍Checksum)°{⊙⊙∘}))

°□⊢⊢▽⊸≡(≍"northpoleobjectstorage"⍜(-@a)(◿26+)▽≠@-. :⊙⊙◌°{⊙⊙∘})
2 changes: 1 addition & 1 deletion Uiua/2017/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

≡⋕▽∈⊙.+@0⇡10

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2017/02.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊜⋕≠@\t.)≠@\n.

Expand Down
4 changes: 2 additions & 2 deletions Uiua/2018/01.ua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
&fras ⊢⇌ &args
&fras &args

⊜⋕≠@\n.

⊃(⊓⊢∩◌ ⍢(⊂:+⊢⇌,,◌|=0⧻ .▽≠⇡⊸⧻⊸⊛.) [0]|⊢⇌) \+
⊃(⊓⊢∩◌ ⍢(⊂:+,,◌|=0⧻ .▽≠⇡⊸⧻⊸⊛.) [0]|) \+
2 changes: 1 addition & 1 deletion Uiua/2019/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜⋕≠@\n.

Expand Down
4 changes: 2 additions & 2 deletions Uiua/2019/02.ua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
&fras ⊢⇌ &args
&fras &args

Intcode ~ "Intcode.ua"

Intcode~Parse

RunWithInput ← ⊢⍜⊙0Intcode~Run‼(.|◌)⍜⊏◌1_2:

⊃(⊗19690720≡RunWithInput☇1⇡100_100¤|RunWithInput 12_2)
⊃(⊗19690720≡RunWithInput♭₂⇡100_100¤|RunWithInput 12_2)
2 changes: 1 addition & 1 deletion Uiua/2019/03.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

∩°□°⊟⊜□≠@\n.
∩(\+▽:⊏⊙[∩⊸¯⊸⇌⇡2]⊗⊙"LRUD"⊜(⊙⋕°⊂)≠@,.)
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2019/04.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜⋕∈+@0⇡10.
⍜-⇡°⊟+0_1
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2019/05.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Intcode ~ "Intcode.ua"

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2019/09.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Intcode ~ "Intcode.ua"

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2020/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜⋕≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2020/02.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜{⊓∩⋕⊢°$"_-_ _: _"}≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2020/03.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

=@#⊜∘≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2021/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜⋕≠@\n.
∩(/+≡/>◫2)≡/+◫3.
2 changes: 1 addition & 1 deletion Uiua/2021/02.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊓⊢⋕°$"_ _")≠@\n.
-1⊗⊙"ufd"
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2022/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(/+⊜⋕≠@\n.)¬⌕"\n\n".
/+↙3⟜⊢⊏⊸⍖
4 changes: 2 additions & 2 deletions Uiua/2022/02.ua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
&fras ⊢⇌ &args
&fras &args

◿23-@A⊜(⊜⊢≠@ .)≠@\n.

∩/+ ⊃(≡(++1◿3+2⊃/+(×3⊢⇌))) (≡(+1+×3◿3+1⊃/-(⊢⇌)))
∩/+ ⊃(≡(++1◿3+2⊃/+(×3))) (≡(+1+×3◿3+1⊃/-()))
2 changes: 1 addition & 1 deletion Uiua/2022/03.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜□≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2022/04.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⊜⋕¬∈",-".)≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2022/05.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

ParseStep ← [⊓⋕∩(-1⋕) °$"move _ from _ to _"]
ExecSteps! ← ∧(⍜(°{⊙∘}⊏)(⊙(⊂^0)⊃↘↙:⊙:)⊙::°⊂)
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2022/06.ua
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
&fras ⊢⇌ &args
&fras &args

∩(+⟜⊗⟜(≡(⧻◴)◫)) 14,4
2 changes: 1 addition & 1 deletion Uiua/2022/25.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Digits ← "=-012"
ToSnafu ← ⊏⊙Digits [◌⍢(⌊⊃÷◿5+2|>0)]
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/01.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Digits ← ≡(□¤)+@1⇡9
Words ← {"one" "two" "three" "four" "five" "six" "seven" "eight" "nine"}
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/02.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Colors ← {"red" "green" "blue"}
ParseCount ← ⬚0↯¤3×°⊚:⊓⋕(⊗□⊙Colors)°$" _ _"
Expand Down
6 changes: 3 additions & 3 deletions Uiua/2023/03.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Nums ← (
∈+@0⇡10
Expand All @@ -7,14 +7,14 @@ Nums ← (
)
Symbols ← ×⊃(≠@.)(=0Nums)
Gears ← =@*
Neighbors ← ≡(×⬚0↻)☇1-1⇡3_3∩¤
Neighbors ← ≡(×⬚0↻)♭₂-1⇡3_3∩¤
A ← (
Neighbors ⊃Symbols Nums
⊏◴♭/↥
)
B ← (
Neighbors ⊃Nums Gears
☇1
♭₂
⬚0≡(▽=2⧻.▽≠0.◴)
≡/×≡⊏⊙¤
)
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/04.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

ParseCard ← ∩°□°⊟ ⊜(□⊜⋕≠@ .)≠@|. ↘+2⊗@:.
Matches ← ⧻▽∈⊙.
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/05.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

ParseSeeds ← ≡⋕↘1⊜□≠@ .°□⊢
ParseRangeMap ← ⍜°[⊙⊙∘]⊃(-:|⋅∘|⋅+)⊜⋕≠@ .
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/06.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Solve ← (
°⊟⇌
Expand Down
4 changes: 2 additions & 2 deletions Uiua/2023/07.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

ParseCard ← +2⊗⊙"23456789TJQKA"
ParseHand ← ⊂⊓(ParseCard°□|⋕)°⊟ ⊜□≠@ .
Expand All @@ -13,4 +13,4 @@ ReplaceJokers ← ⍜(↘¯1)(×≠11.)

⊜ParseHand≠@\n.
≡ReplaceJokers.
∩(/+× +1⇡⧻. ⊢⇌⍉ Sort)
∩(/+× +1⇡⧻. ⍉ Sort)
4 changes: 2 additions & 2 deletions Uiua/2023/08.ua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
&fras ⊢⇌ &args
&fras &args

ParseInstructions ← =@R°□⊢
ParseNode ← ↘1⊢regex"([^ ,]+) = \\(([^ ,]+), ([^ ,]+)\\)"
ParseNetwork ← ≡ParseNode ↘1
ReplaceNames ← ⍜⍉(⊗⊃(↘1)⊢)
FindStartAndGoal ← ∩(⊗□) "AAA","ZZZ"⊢⍉
StartAndGoalMask ← ∩=@A,@Z≡◇(⊢⇌)⊢⍉
StartAndGoalMask ← ∩=@A,@Z≡◇()⊢⍉
Step ← ⊃(⊏⊃(⊏◿⧻,⋅⊙⋅⋅∘|⊏⊙⋅⋅∘)|+1⋅∘|⋅⋅⊙⊙∘)
Run! ← ⋅⊙⋅⋅◌ ⍢Step(¬^0) ⊙0
LCM ← ÷◌⊃⍢⊃◿∘±×
Expand Down
4 changes: 2 additions & 2 deletions Uiua/2023/09.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⍉⊜(⊜⋕≠@ .)≠@\n.
∩(/+♭[◌⍥⊃(≡/-◫2)(⊢⇌)]-1⧻.) ⇌.
∩(/+♭[◌⍥⊃(≡/-◫2)()]-1⧻.) ⇌.
2 changes: 1 addition & 1 deletion Uiua/2023/10.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

N ← "J|LS"
E ← "L-FS"
Expand Down
4 changes: 2 additions & 2 deletions Uiua/2023/11.ua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
&fras ⊢⇌ &args
&fras &args

Expand ← ▽:∩(☇¯2)⊞⊟∩(\++1×-1:/׬)⍉,,,
Expand ← ▽:∩(♭₋₁)⊞⊟∩(\++1×-1:/׬)⍉,,,

=@#⊜∘≠@\n.
⊃(Expand 1000000)(Expand 2)
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/12.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜(⍜(°□⊏1)(⊜⋕≠@,.)⊜□≠@ .)≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/13.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

Mismatches ← /+♭≠ ∩↙⟜: ↧∩⧻,, ⊙⇌ ⊃↘↙
Solve! ← +×100: ∩(/+×=^0: ⊙≡Mismatches. ⍜(-1)⇡⊃⧻¤) ⍉.
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/14.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

⊜∘≠@\n.

Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/17.ua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Line ← +⍉⬚0≡⍜⌵⇡⊃-¤

Next ← (
▽≠0◿2⊸+:⇡4°⊂
☇1⊞⊂⊙⊃⋅⋅∘⊙.
♭₂⊞⊂⊙⊃⋅⋅∘⊙.
⊙⟜(:)
≡(⟜(+×⊏⊙Neis)°⊟)⊙¤
∩▽,⊙(:⟜≡Valid|¤)
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/18.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊢⇌ &args
&fras &args

ParseInst ← ⊃↘↙2 ↘1⊢regex"^([RDLU]) (\\d+) \\(#(.{5})([0123])\\)$"
ParseHex ← ∧(+×16:)⊙0⊗⊙"0123456789abcdef"
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit acf513b

Please sign in to comment.