public string SolvePartOne() { var computer = new IntCodeComputerDay2(this.values, 12, 2); computer.Process(); return(computer.memory[0].ToString()); }
public string SolvePartTwo() { for (int i = 0; i < 100; i++) { for (int j = 0; j <= i; j++) { var computer = new IntCodeComputerDay2(this.values, i, j); computer.Process(); if (computer.memory[0] == 19690720) { return((100 * i + j).ToString()); } } } return("0"); }