Skip to main content
Commonmark migration
Source Link

#Snails, 20 bytes

Snails, 20 bytes

!{to{\0w`3\1|\1w`3\0 

Prints the area of the grid if there isn't a 2x2 square with 3 zeroes and a one or 3 ones and a zero, or 0 if such a 2x2 square exists.

#Snails, 20 bytes

!{to{\0w`3\1|\1w`3\0 

Prints the area of the grid if there isn't a 2x2 square with 3 zeroes and a one or 3 ones and a zero, or 0 if such a 2x2 square exists.

Snails, 20 bytes

!{to{\0w`3\1|\1w`3\0 

Prints the area of the grid if there isn't a 2x2 square with 3 zeroes and a one or 3 ones and a zero, or 0 if such a 2x2 square exists.

Source Link
feersum
  • 31.8k
  • 10
  • 66
  • 125

#Snails, 20 bytes

!{to{\0w`3\1|\1w`3\0 

Prints the area of the grid if there isn't a 2x2 square with 3 zeroes and a one or 3 ones and a zero, or 0 if such a 2x2 square exists.