AOC day 2
BQN - toki pona
Tags: advent of code, computer science, toki pona, programming
•Show input
A ← {((∧´·(1⊸≤∧3⊸≥)|)∧(1⊸=∘≠⍷∘×))-´˘2↕𝕩}
B ← {∨´A¨·/⟜𝕩¨<˘¬=⌜˜↕≠𝕩}
•Show +´A¨input
•Show +´B¨input
BQN - toki pona
Tags: advent of code, computer science, toki pona, programming
•Show input
A ← {((∧´·(1⊸≤∧3⊸≥)|)∧(1⊸=∘≠⍷∘×))-´˘2↕𝕩}
B ← {∨´A¨·/⟜𝕩¨<˘¬=⌜˜↕≠𝕩}
•Show +´A¨input
•Show +´B¨input