DEV Community

Cover image for Advent of Code 2019 Solution Megathread - Day 21: Springdroid Adventure
Jon Bristow
Jon Bristow

Posted on

2 1

Advent of Code 2019 Solution Megathread - Day 21: Springdroid Adventure

Do you know what's better than one kind of interpreter? Two kinds of interpreter

Day 21 - The Problem

Well, with our curiosity satisfied, we set off from Pluto. Unfortunately, we've gotten careless and have sustained hull damage. Luckily, we have a hull surveying Springdroid to help us out.

Not so luckily, this springdroid doesn't accept IntCode. It accepts a totally different kind of code based around booleans and registers. For Part 1 we need to use our handy IntCode compiler to accept this code and interpret the results.

Part 2 will have to wait, since I can't afford another night with not enough sleep.

Ongoing Meta

Dev.to List of Leaderboards

If you were part of Ryan Palo's leaderboard last year, you're still a member of that!

If you want me to add your leaderboard code to this page, reply to one of these posts and/or send me a DM containing your code and any theming or notes you’d like me to add. (You can find your private leaderboard code on your "Private Leaderboard" page.)

I'll edit in any leaderboards that people want to post, along with any description for the kinds of people you want to have on it. (My leaderboard is being used as my office's leaderboard.) And if I get something wrong, please call me out or message me and I’ll fix it ASAP.

There's no limit to the number of leaderboards you can join, so there's no problem belonging to a "Beginner" and a language specific one if you want.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more