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/ebe12e66a8a63119fa0f4f64c2100476037d81cb?narHash=sha256-WMrcwMgc/sDWr1/7TD1WhNMrrmEB8uuB%2Bwe1TiZAelI%3D' (2024-11-30)
  → 'github:uiua-lang/uiua/c2f9925de82b11af147dca63b9c2b7ba501e76a4?narHash=sha256-YRv4i014xD4d8YN5PuMsa06%2B7kZgISPBGkKrVLU5ZN0%3D' (2024-12-04)
  • Loading branch information
Defelo committed Dec 4, 2024
1 parent 980e37b commit f262144
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 23 deletions.
12 changes: 6 additions & 6 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Uiua/2015/02.ua
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

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

∩(/++) ≡⊃(/×|×2-⊃/↥/+|÷⊃/↥/×|×2/+≡/×◫2↯[4])
∩(/++) ≡⊃(/×|×2-⊃/↥/+|÷⊃/↥/×|×2/+⧈×↯[4])
4 changes: 2 additions & 2 deletions Uiua/2015/05.ua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

⊜□≠@\n.

A ← /×[⊃(≥3/+∈"aeiou"|/↥≡/=◫2|¬/↥♭≡⌕"ab"_"cd"_"pq"_"xy"¤)]
B ← ×⊃(≥2/↥♭≡⦷2⟜¤|/↥=⊃⊢⊣⍉3)
A ← /×[⊃(≥3/+∈"aeiou"|/↥⧈=|¬/↥♭≡⌕"ab"_"cd"_"pq"_"xy"¤)]
B ← ×⊃(≥2/↥♭≡⦷⧈∘2⟜¤|/↥=⊃⊢⊣⍉⧈∘3)

∩/+≡◇⊃B A
2 changes: 1 addition & 1 deletion Uiua/2016/07.ua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

⊜□≠@\n.

Find! ← ∩(▽⊸≡(≍^0⊛)(⧻^0)▽)¬,,\+-1⬚1⊗⊙"] [".
Find! ← ∩(▽⊸≡(≍^0⊛)⧈∘(⧻^0)▽)¬,,\+-1⬚1⊗⊙"] [".

A ← ×⊙¬∩(>0⧻) Find!0_1_1_0
B ← ⬚0/↥∈≡(⊏1_0_1) Find!0_1_0
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

⊜⋕≠@\n.
∩(/+≡/>◫2)≡/+◫3.
∩(/+⧈>)⧈₃/+.
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

∩(+⟜⊗⟜(≡(⧻◴)◫)) 14,4
∩(+⟜⊗⟜⧈(⧻◴)) 14,4
2 changes: 1 addition & 1 deletion Uiua/2022/07.ua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ File ← ⊃⋅⋅∘(insert:⊙(□⊂:□))⋕
∧◇(∧(insert⊙+:◡(⬚0get⊙◌))⍚↙⇡⊃⧻¤)

A ← /+×≤100000.
B ← /↧▽⊸≥-:30000000-:70000000⊸get{}
B ← /↧▽⊸≥-:30000000-:70000000⊸get{}

⊃B A
11 changes: 6 additions & 5 deletions Uiua/2023/07.ua
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
&fras ⊣ &args

ParseCard ← +2⊗⊙"23456789TJQKA"
ParseHand ← ⊂⊓(ParseCard°□|⋕)°⊟ ⊜□≠@ .
CountCards ← ¤⬚0↯[4] ↘1 ⊏⍖. ⊕⧻⊛. ▽≠0.
ParseCard ← +2⊗⊙"23456789TJQKA"
ParseHand ← ⊂⊓(ParseCard°□|⋕)°⊟ ⊜□≠@ .
CountCards ← ¤⬚0↯[4] ↘1 ⊏⍖. ⊕⧻⊛. ▽≠0.
HandType ← -⊙6⊢⊚ ≡≍[
0_0_0_0 1_0_0_0
2_0_0_0 1_1_0_0
2_1_0_0 1_1_1_0
1_1_1_1] CountCards
Sort ← ⊏⍏ ≡(⊂HandType.↘¯1) .
1_1_1_1
] CountCards
Sort ← ⊏⍏ ≡(⊂HandType.↘¯1) .
ReplaceJokers ← ⍜(↘¯1)(×≠11.)

⊜ParseHand≠@\n.
Expand Down
2 changes: 1 addition & 1 deletion Uiua/2023/09.ua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
&fras ⊣ &args

⍉⊜(⊜⋕≠@ .)≠@\n.
∩(/+♭[◌⍥⊃(≡/-◫2)(⊣)]-1⧻.) ⇌.
∩(/+♭[◌⍥⊃⧈-⊣]-1⧻.) ⇌.
2 changes: 1 addition & 1 deletion Uiua/2024/02.ua
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

⊜(□⊜⋕)∩≠@\n,@ .

Check ← ×⊃(/×≤3⌵|≍¤1⌵◴±) ≡/-◫2
Check ← ×⊃(/×≤3⌵|≍¤1⌵◴±)⧈-
∩/+≡◇⊃(/↥≡(Check▽)⊞≠.⇡⧻⟜¤|Check)
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 f262144

Please sign in to comment.