Skip to content

Instantly share code, notes, and snippets.

@carlosefr
Last active March 25, 2019 20:03
Show Gist options
  • Save carlosefr/c79e644ce7455a415ef52c7261f4386d to your computer and use it in GitHub Desktop.
Save carlosefr/c79e644ce7455a415ef52c7261f4386d to your computer and use it in GitHub Desktop.
f=(a,g,e,b,d=(a,c)=>a>--c?c:0<a&&0|a)=>e.map((l,c)=>b.map((b,h)=>b.map((b,k)=>s+=e[d(h-1+c/3/a,g)*a*3+3*d(k-1+c/3%a,a,z+=b)+c%3]*b),s=z=0)|d(z?s/z:s,256))
@carlosefr
Copy link
Author

This is jcazevedo's winning answer to the Pixels Camp Quizshow qualifiers' Kernel Panic challenge, with just 154 bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment