Alpha Chen 8 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 # part one
Races ← ⍉↯2_¯1 ⊐∵⋕ Input Races ← ⍉↯2_¯1 ⊐∵⋕ Input
/×≡(/+<×⊙-.⇡.⍘⊟) Races /×≡(/+<×⊃-∘⇡.⍘⊟) Races
# part two # part two
Races ← ∵⋕⊐≡/⊂ ↯2_¯1 Input Races ← ∵⋕⊐≡/⊂ ↯2_¯1 Input
/+<×⊙-.⇡.⍘⊟ Races /+<×⊃-∘⇡.⍘⊟ Races

Loading…
Cancel
Save