Oof! The opcode from Day 2 is back with a vengeance.
Day 5 - The Problem
As we feared, the IntCode interpreter is back. It looks the air conditioning unit is also controlled by the same kind of IntCode interpreter as we worked on for our fuel manager, but with more options.
Part 1 was a doozy of trying to figure out why things were loading/unloading from the wrong places.
Part 2 felt more like a victory lap... but this may be because I had so many problems parsing what Part 1 wanted me to do.
This was tough, but more from a comprehension standpoint compared to the actual implementation...
Edit: Early consensus is that the code is coming out “ugly”. So hopefully me noting this here will make people feel a little safer about sharing despite being self-conscious.
Ongoing Meta
Dev.to List of Leaderboards
-
120635-5c140b9a
- provided by Linda Thompson
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.
Neat Statistics
I'm planning on adding some statistics, but other than "what languages did we see yesterday" does anyone have any ideas?
Languages Seen On Day 04
- JavaScript x 5
- Python x 4
- Kotlin x 2
- Ruby x 2
- Rust x 2
- Clojure
- COBOL
- Elixir
- Haskell
- PHP
- Prolog
- Swift
- Zig