Toot

Written by Jérémie Chassaing on 2024-12-20 at 08:19

[#]AdventOfCode was quite easy today

Build a map(dictionay) of the track x,y -> distance

Part1: for each point in track check if point 2 moves in direction is in track, and d2-d1-2>=100

Part2: for all pairs of points in track, if Manhattan distance m is <= 20 it's a potential cheat, check cheat gain d2-d1-m >= 100

=> More informations about this toot | View the thread | More toots from thinkb4coding@mastodon.social

Mentions

Tags

=> View adventofcode tag

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

This content has been proxied by September (ba2dc).