mirror of
https://github.com/seigler/advent-of-code-browser-console
synced 2025-07-27 00:26:10 +00:00
one big repo for all years
This commit is contained in:
parent
4e1cd98bf1
commit
ccc3cdba3a
9 changed files with 0 additions and 0 deletions
1
day05.js
1
day05.js
|
@ -1 +0,0 @@
|
|||
d=document.body.innerText.replaceAll(/[FL]/g,0).replaceAll(/[BR]/g,1).trim().split`\n`.map(c=>parseInt(c,2)).sort((a,b)=>b-a);[d[0],d.find((s,i,S)=>s-S[i+1]==2)-1]
|
Loading…
Add table
Add a link
Reference in a new issue