mirror of
https://github.com/seigler/advent-of-code-browser-console
synced 2025-07-26 00:06:10 +00:00
1 line
No EOL
116 B
JavaScript
1 line
No EOL
116 B
JavaScript
[a,b,c]=$("pre").innerText.trim().split`\n\n`.map(x=>x.split`\n`.reduce((a,c)=>a+(+c),0)).sort((a,b)=>b-a);[a,a+b+c] |