Discussion about this post

User's avatar
Paul Juster's avatar

OK. I wasn't able to submit on time. But here's a generalized solution for an array of any size:

Σ(1,x)Σ(1,y)(2^xy*(1 - 2^(1-x)-2^(1-y)+2^(-2x)+2^(-2y)+2^(3-x-y)-2^(3-2x-y)-2^(3-x-2y)+2^(4-2x-2y))) + 1. Simple, right?

Expand full comment
Eric Snyder's avatar

Are we counting no dots as one of the possible characters? I believe that's just used as a space. Otherwise there are only 63 possible characters...

Expand full comment
10 more comments...

No posts