Toot

Written by Russ Cox on 2024-12-04 at 14:45

Day 4 part 1 https://adventofcode.com/2024/day/4 #AdventOfCode

pad dot-pads the matrix to avoid wraparound.

x y shift m rotates the matrix x left, y down.

d(=x y) shift4 m produces the 4 matrices shifted by d*0 1 2 3.

d XMAS m identifies the X in XMAS in direction d.

=> View attached media

=> More informations about this toot | View the thread | More toots from rsc@hachyderm.io

Mentions

Tags

=> View adventofcode tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113595092387608695
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
279.124463 milliseconds
Gemini-to-HTML Time
0.334299 milliseconds

This content has been proxied by September (3851b).