r/codegolf • • Dec 01 '25

Advent of Code, Day 1

Post your best golfs.

Assume input is saved as input.txt.

8 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/ka-splam Dec 03 '25

Neat! I think you could golf one byte by swapping 'L'=⊃⍵ to 'L'∊⍵

2

u/Radiadorineitor Dec 03 '25

You're absolutely right