Skip to content

Instantly share code, notes, and snippets.

View citizen428's full-sized avatar

Michael Kohl citizen428

View GitHub Profile
### Keybase proof
I hereby claim:
* I am citizen428 on github.
* I am citizen428 (https://keybase.io/citizen428) on keybase.
* I have a public key whose fingerprint is E183 E826 AAA2 71D9 A25E B8E9 EF16 E5E6 87B2 A218
To claim this, I am signing this object:
@citizen428
citizen428 / day1.p6
Last active December 7, 2020 15:48
AOC 2020 Raku
my @l = 'aoc-expenses.txt'.IO.lines;
# part 1
say [*] @l.combinations(2).first: *.sum == 2020;
# part 2
say [*] @l.combinations(3).first: *.sum == 2020;