From c3433467d872b25f641bdd29479abf327e216c29 Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Mon, 6 Dec 2021 01:47:35 -0500 Subject: [PATCH] 2021 day 6 --- 2021/day06.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 2021/day06.js diff --git a/2021/day06.js b/2021/day06.js new file mode 100644 index 0000000..0573019 --- /dev/null +++ b/2021/day06.js @@ -0,0 +1 @@ +[80,256].map(d=>{B=Array(9).fill(0);$`pre`.innerText.trim().split`,`.map(f=>B[+f]++);for(i=0;ia+x,0)}) \ No newline at end of file