« first day (916 days earlier)      last day (2011 days later) » 

8:47 PM
4
Q: All the single eights

Luis MendoGiven a non-empty rectangular array of integers from 0 to 9, output the amount of cells that equal 8 and do not have a neighbour equal to 8. Neighbouring is here understood in the Moore sense, that is, including diagonals. So each cell has 8 neighbours, except for cells on the edges of the array....

^ 10-byte MATL solution, anyone?
 

« first day (916 days earlier)      last day (2011 days later) »