Alpha Chen 9 months ago
parent 2364abf76a
commit babaaebb45
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -2,8 +2,8 @@ Input ← regex"\\d+" &fras "../day_06.txt"
# part one
Races ← ⍉↯2_¯1 ⊐∵⋕ Input
/×≡(/+<×⊙-.⇡.⍘⊟) Races
/×≡(/+<×⊃-∘⇡.⍘⊟) Races
# part two
Races ← ∵⋕⊐≡/⊂ ↯2_¯1 Input
/+<×⊙-.⇡.⍘⊟ Races
/+<×⊃-∘⇡.⍘⊟ Races

Loading…
Cancel
Save