Initial commit
This commit is contained in:
commit
f242d2b0df
420 changed files with 62521 additions and 0 deletions
4
2022/day04/day04.bqn
Normal file
4
2022/day04/day04.bqn
Normal file
|
@ -0,0 +1,4 @@
|
|||
str←•Import"../bqn-libs/strings.bqn"
|
||||
in←∘‿2‿2⥊>str.ToNats¨•FLines⊑•args
|
||||
•Show +´2≠|+´˘(×∘-)˝˘in
|
||||
•Show +´(∧´(≤´0‿0⊸⍉)¨∘(⊢⋈⌽))˘in
|
1000
2022/day04/input
Normal file
1000
2022/day04/input
Normal file
File diff suppressed because it is too large
Load diff
6
2022/day04/test
Normal file
6
2022/day04/test
Normal file
|
@ -0,0 +1,6 @@
|
|||
2-4,6-8
|
||||
2-3,4-5
|
||||
5-7,7-9
|
||||
2-8,3-7
|
||||
6-6,4-6
|
||||
2-6,4-8
|
Loading…
Add table
Add a link
Reference in a new issue