[2022][bqn][6.x] refactor

pull/1/head
Alpha Chen 2 years ago
parent cdbcffdda5
commit 88c3c73d2f
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -1,2 +1,11 @@
•Show 4+1¨<˘4 •FChars "../day_06.txt" # •Show 4 + ⊐⟜1 ⍷⊸≡¨ <˘ 4↕ •FChars "../day_06.txt"
•Show 14+1¨<˘14 •FChars "../day_06.txt" # •Show 14 + ⊐⟜1 ⍷⊸≡¨ <˘ 14↕ •FChars "../day_06.txt"
n 4
input •FChars "../day_06.txt"
windows n input
uniq ˘ windows
index uniq 1
•Show n + index
# PktN←{𝕨+⊑1⊐˜(∧´∊)˘𝕨↕𝕩}

Loading…
Cancel
Save