APL (Dyalog Classic), 23(削除) 23 (削除ここまで) 22 bytes
-1 byte thanks to @H.PWiz
{∧/1=1↓(⊃∨⊢)1⌈4⌽1=1↓∨∘⊃⍨1⌈4⌽,⍵}⌺3 3
doesn't support matrices smaller than 3x3 due to a bug in the interpreter
APL (Dyalog Classic), 23 bytes
{∧/1=1↓(⊃∨⊢)1⌈4⌽,⍵}⌺3 3
doesn't support matrices smaller than 3x3 due to a bug in the interpreter
APL (Dyalog Classic), (削除) 23 (削除ここまで) 22 bytes
-1 byte thanks to @H.PWiz
{∧/1=1↓∨∘⊃⍨1⌈4⌽,⍵}⌺3 3
doesn't support matrices smaller than 3x3 due to a bug in the interpreter
APL (Dyalog Classic), 23 bytes
{∧/1=1↓(⊃∨⊢)1⌈4⌽,⍵}⌺3 3
doesn't support matrices smaller than 3x3 due to a bug in the interpreter