# Tag Info

### Make it explode!

Operation Flashpoint scripting language, 182 bytes ...
• 16.5k

### Where's the 0xBEEF?

vim, 126 80 77 76 /\v1011\_.{9}(1110\_.{9}){2}1111<cr>:exe'norm Go'.join(getpos('.'))<cr>xxdawhPXXd{ Expects input in the form ...
• 71.5k

### Remove surrounding zeroes of a 2d array

Wolfram Language (Mathematica), 42 bytes #&@@CellularAutomaton[{,{},0{,}},{#,0},0]& Try it online! Cellular automata are indeed the answer to life, the ...
• 13.8k
Accepted

### Where's the 0xBEEF?

Jelly, 20 17 16 bytes ṡ€4ḄZw€“¿ÇÇÐ‘ĖUṀ Input is in form of a Boolean matrix, output is the 1-based index pair (Y, X). Try it online! or verify all test cases. ...
• 210k

### Dig a border trench

Wolfram Language (Mathematica), 15 bytes 2#-#~Erosion~1& Try it online! Or (39 bytes): ...
• 21.5k

### Slash the matrix

MATL, 21 bytes 3XytPJ*-X*Xj~4&1ZIunq The input is a matrix with 1 for \ and ...
• 105k

### Determinant of an Integer Matrix

Jelly, 15 bytes LŒ!ðŒcIṠ;ị"Pð€S Try it online! How it works ...
• 49.9k

### I transpose the source code, you transpose the input!

Python 3 + numpy, 45 bytes lambda\ a:a ma= """ b. " dT" " a " \ """ Try it online! Thanks to @EriktheOutgolfer pointing out a bug of the previous version ...
• 1,761

### Calculate the inverse of a matrix

Octave, 57 bytes A=input('');V=A'/trace(A*A');for i=1:1e4V=2*V-V*A*V;end V Try it online! This is not particularly well golfed, but I wanted to advertise an ...
• 14.8k

### Where's the 0xBEEF?

JavaScript (ES6), 63 60 56 bytes s=>[(i=s.search(/1011.{9}(1110.{9}){2}1111/))%13,i/13|0] Takes input as a 155-character space-delimited string of 12 12-digit ...
• 173k

### First spiral, then diagonal

R, 43 34 bytes function(n)(8*n^3-3*n^2+4*n+3)%/%6 Try it online! The OEIS page lists the following formula for a(n): ...
• 28.7k

### Matrix with 1 to L(n), in all n columns

R, 40 38 bytes function(l)outer(m<-1:max(l),l,"<=")*m Try it online! Explanation: outer applies its third argument (...
• 28.7k
Accepted

### Matrix in "slash" order

Jelly, 6 5 bytes pSÞỤs Try it online! How it works ...
• 210k

### Orthodiagonal steps

Octave, 24 bytes dec2base([0:3,5:8],3)-49 Try it online! I haven't seen this approach yet. Creates a list of integers ...
• 46.4k

### Is the matrix centrosymmetric... and so is the code?

JavaScript (ES6), size 12 11 9 All versions return false for centrosymmetric or true for non-centrosymmetric. 1-dimensional array + length, size 9 (89 bytes) Takes input in currying syntax ...
• 194k

### Transposes and Diagonals

Javascript, score 20 14, (258 176 non-newline characters) ...
• 4,071

### Friar simulator

Grime, 20 bytes n.\1./\3.\4/.\2.voO Try it online! A very literal implementation of the spec: n make Grime count the ...
• 197k
Accepted

### Rebuild a rectangular array from a corner

Canvas, 1 byte Try it here! Outputs as a multiline string
• 20.3k

### Find the inverse of a 3 by 3 matrix

MATL, 54 bytes th3LZ)t,3:q&XdpswP]w-lw/GtY*tXdsGXdsUw-IXy*2/+GtXds*-* Try it online! Just to keep it interesting, doesn't use the inbuilt matrix division or ...
• 6,612

### Recursive Z-matrix

Jelly, 5 bytes 4ṗ>2Ġ Try it online! Neil saved a byte. Thanks! ...
• 68.8k

### Is the matrix centrosymmetric... and so is the code?

Jelly, score 2 ⁼Ṛ Ṛ⁼ Try it online! Takes input as a flattened square matrix (vector of size $n^2$).
• 40.6k

### Make a Rectangle from a Triangle

Python 2, 59 bytes n=input() c=~n%2 while c<n:printn%10*n+c%10*c;n-=1;c+=1 Try it online! Prints like: ...
• 145k

### Output a Latin Square

Python 2, 37 bytes Outputs a flattened $n \times n$ latin square. lambda n:((range(n)*-~n)[1:]*n)[::~n] Try it online!
• 22.7k
Accepted

### Is it a good 2048 board?

Haskell, 21 bytes all\$scanr1 max>>=(==) Try it online! Takes a list of columns, with empty spaces as 0.
• 145k

### Is this a valid Takuzu board?

Brachylog, 20 18 bytes ≠\≠,?¬{∋s₃=|∋ọtᵐ≠} Try it online! Explanation ...
• 38.9k

### Is the matrix rank-one?

Jelly, 6 bytes ẸÐfÆrE Try it online! How it works ...
• 210k

Javascript (ES6), 48 47 bytes Saved 1 byte thanks to edc65 m=>m.some((r,y)=>r.some((c,x)=>(x*y&&x!=y)^!c)) Returns ...
• 4,071

### Friar simulator

Snails, 17 16 bytes Ao \1.=\2o=\3b\4 Try it online! Explanation A makes Snails count the number of possible matching paths ...
• 197k
Haskell, $n = 8$ No comments! Takes input as a 1-D list s a b= a/=b f =s<*> reverse esrever >*<s= f b=/a =b a s Try it online! \...