[2023][uiua][14.1]

main
Alpha Chen 12 months ago
parent 16677ad6a4
commit 4fa0141f5f
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -0,0 +1,12 @@
&fras "../day_14.txt"
⊜∘ ≠, @\n
Input ←
Tilt ← ⍜⊜□(∵(□⊏⍖.°□))≠@#.
⍜⍉≡(Tilt) Input # tilt platform north
=@O # keep rocks
≡/+ # number of rocks per row
⇌+1⇡⧻. # load amount per row
× # load per row
/+ # sum of row loads
Loading…
Cancel
Save