public Day1() { var fuelsRequiredByModule = FileUtils.LoadDataLines(1) .Select(long.Parse) .Select(mass => FuelRequired(mass)); _answer1 = fuelsRequiredByModule .Sum(); _answer2 = fuelsRequiredByModule .Select(FuelRequiredByFuel) .Sum(); }
public Day6() { _answer1 = GetTotalOrbits(FileUtils.LoadDataLines(6)); // TODO: _answer2 = 0; }