[2024][uiua][5.x]

main
Alpha Chen 7 days ago
parent c1cae2ec6d
commit 04901843fa
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -13,7 +13,7 @@ $ MXMXAXMASX
⊜∘≠@\n. ⊜∘≠@\n.
Input ← Input ←
Search ← /+♭≡(◇⌕) ♭≡[⍥₃⊸(⍉⇌)] ⊙¤ Search ← /+♭≡◇⌕ ♭≡[⍥₃⊸(⍉⇌)] ⊙¤
Diagonal ← ≡⊏×⟜⊞=.+₁⇡⟜↯4 "\WXMAS" Diagonal ← ≡⊏×⟜⊞=.+₁⇡⟜↯4 "\WXMAS"
Part₁ ← Search {Diagonal ¤"XMAS"} Part₁ ← Search {Diagonal ¤"XMAS"}

@ -0,0 +1,49 @@
# Experimental!
$ 47|53
$ 97|13
$ 97|61
$ 97|47
$ 75|29
$ 61|13
$ 75|53
$ 29|13
$ 97|29
$ 53|29
$ 61|53
$ 97|53
$ 61|29
$ 47|13
$ 75|47
$ 97|75
$ 47|61
$ 75|61
$ 47|29
$ 75|13
$ 53|13
$
$ 75,47,61,53,29
$ 97,61,53,29,13
$ 75,29,13
$ 75,97,47,61,53
$ 61,13,29
$ 97,13,75,29,47
°$"_\n\n_"
∩(⊜□≠@\n.)
⊓(≡(⋕⊟°$"_|_"))(≡(⍚⊜⋕≠@,.))
Rules ←
Updates ←
⊃(▽)(▽¬) ≡(/×◇⧈(⍜¤∈Rules) 2) .Updates
Correct ←
Incorrect ←
Middle ← ⊡⌊÷₂⧻.
Part₁ ← /+ ≡◇Middle Correct
Sort ← ⊏⍏/+∈Rules⊸⊞⊟.
Part₂ ← /+ ≡◇(Middle Sort) Incorrect
$Part₁ Part₁
$Part₂ Part₂
Loading…
Cancel
Save