01020304050607080910111213141516171819202122232425

Advent of Code

2019/9

Sensor Boost

in C#

by encse

You've just said goodbye to the rebooted rover and left Mars when you receive a faint distress signal coming from the asteroid belt. It must be the Ceres monitoring station!

In order to lock on to the signal, you'll need to boost your sensors. The Elves send up the latest BOOST program - Basic Operation Of System Test.

Read the full puzzle.

using System.Linq;

namespace AdventOfCode.Y2019.Day09;

[ProblemName("Sensor Boost")]
class Solution : Solver {

    public object PartOne(string input) => new IntCodeMachine(input).Run(1).Single();
    public object PartTwo(string input) => new IntCodeMachine(input).Run(2).Single();
}

Please ☆ my repo if you like it!

© 2025 Advent of Code is a registered trademark in the US Images provided by Bing image creator