Initial commit

This commit is contained in:
Dimitri Lozeve 2024-11-12 21:43:32 +01:00
commit f242d2b0df
420 changed files with 62521 additions and 0 deletions

4
2020/day11/day11.dyalog Normal file
View file

@ -0,0 +1,4 @@
⎕IO←0
p←'L'=↑⊃⎕NGET'input'1
s←{(1=1 1⌷⍵)∧∧/2≠,⍵:2 ⋄ (2=1 1⌷⍵)∧4<+/2=,⍵:1 ⋄ 1:1 1⌷⍵}⌺3 3
+/,2=(s⍣≡)p ⍝ Part 1